home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / msg3.zip / MSWIN32.MSG
Text File  |  1992-11-06  |  374KB  |  11,381 lines

  1. #: 16311 S1/NonTech Cust. Serv.   
  2.     01-Nov-92  16:04:17
  3. Sb: WIN32/NT SDK Release 2
  4. Fm: Don Perry 76676,1127
  5. To: Stu Wiley 70473,1351 (X)
  6.  
  7. Thanks Stu for the info.
  8.  
  9. Your prompt response is appreciated!!!
  10.  
  11. Don Perry
  12.  
  13.  
  14. #: 16340 S1/NonTech Cust. Serv.   
  15.     02-Nov-92  10:35:17
  16. Sb: Setup, Dev Kit
  17. Fm: Bob Soodak 71055,542
  18. To: All
  19.  
  20. Re: Problem installing NT from MS-Win32 SDK CD-ROM
  21.  
  22. Motherboard: IBM PS/2 Model 40SX
  23.  
  24. SCSI Adapters:
  25.   TCM-850IBM Manufactured for IBM by Future Domain;
  26.   IBM 3.5 inch rewritable optical drive attached, installed internally.
  27.  
  28.   Adaptec AHA-1510 (from Corel systems);
  29.   Corel (manufactured by Toshiba) CD-ROM attached, installed externally.
  30.  
  31. Problem: Boot Disk (July 1992) Setup program fails to recognize the
  32.   presence of a valid CD-ROM drive.
  33.  
  34. Note: In all other respects, the CD-ROM drive functions normally. I had
  35.   no problem installing the MS-Developer Network software from the same
  36.   drive.
  37.  
  38. #: 16350 S1/NonTech Cust. Serv.   
  39.     02-Nov-92  11:23:29
  40. Sb: WINDOWS NT BETA
  41. Fm: Stu Wiley 70473,1351
  42. To: Sung Y. Kim 70353,2743 (X)
  43.  
  44. Send a letter in to Microsoft, attention Windows NT Beta coordinator and
  45. request inclusion to the Beta program.  Alternatively you may fax to
  46. 206/936-7329. Microsoft One Microsoft Way, redmond, WA 98052 Stu Wiley
  47. Developer Service team
  48.  
  49. #: 16362 S1/NonTech Cust. Serv.   
  50.     02-Nov-92  12:43:48
  51. Sb: MSCDEX
  52. Fm: Ralph H. Brenner 71730,2203
  53. To: anyone
  54.  
  55. To use my CD-ROM drive I need the Microsoft Compact Disc Extensions (MSCDEX)
  56. version 2.2 or later.  How or where do I get this?
  57.  
  58. Ralph Brenner
  59.  
  60. #: 16391 S1/NonTech Cust. Serv.   
  61.     02-Nov-92  15:57:19
  62. Sb: #16264-MSDN CD Crash
  63. Fm: Jerry Drain [Microsoft] 72350,2056
  64. To: Richard George 70640,2614
  65.  
  66. Hi Richard,
  67.  
  68. You might ask this question in the MSDNLIB forum.  We don't handle many of
  69. their detailed issues in this forum.  I haven't seen this problem before (but
  70. again you wouldn't expect to see many like this in this section).  This sounds
  71. like a problem with their installation tool.
  72.  
  73. Another possibility, do you have empty space on the drive where your swapfile
  74. is located?  See if the problem is resolved by making a little more room for
  75. your swapfile to grow.
  76.  
  77. Thanks,
  78.   -- Jerry [@Microsoft]
  79.  
  80. #: 16278 S1/NonTech Cust. Serv.   
  81.     31-Oct-92  10:42:25
  82. Sb: SDK install error msg
  83. Fm: Bruce D Franson 71053,3415
  84. To: all
  85.  
  86. Thanks for the new cd (October Beta).  Looks great!
  87. Had an informational message when I installed the sdk after installing
  88. the new windows NT.  Right when it was creating the new windows under
  89. the NT program manager it gave me a non-fatal dde error - twice.  I
  90. selected the "continue" option and it then the next thing it did was
  91. create the sdk group under the program manager, then install the items
  92. one after another.  Looked ok at the end, but thought I would let you
  93. know, since that's what beta programs are for, right :-).
  94. I did the normal install from CD, didn't select custom or anything.
  95. Bruce 
  96.  
  97.  
  98. There is 1 Reply.
  99.  
  100. #: 16392 S1/NonTech Cust. Serv.   
  101.     02-Nov-92  15:57:24
  102. Sb: #16278-SDK install error msg
  103. Fm: Jerry Drain [Microsoft] 72350,2056
  104. To: Bruce D Franson 71053,3415 (X)
  105.  
  106. Hi Bruce,
  107.  
  108. Thanks for the information.  I've passed this information internally to the
  109. guys handling these kinds of issues.  For future reference, if you experience
  110. setup problems with the SDK, please let the folks in Section 7 know about
  111. them.
  112.  
  113. Thanks much,
  114.   -- Jerry [@Microsoft]
  115.  
  116. #: 16393 S1/NonTech Cust. Serv.   
  117.     02-Nov-92  15:57:29
  118. Sb: #16214-Remote Login?
  119. Fm: Jerry Drain [Microsoft] 72350,2056
  120. To: Andrew Potter 71075,614 (X)
  121.  
  122. Hi Andrew,
  123.  
  124. When I saw your initial posting, I happened to see Bruce and asked him to
  125. comment on your question.  Bruce doesn't typically visit this section.
  126. Unfortunately LAN questions are not my forte.  If you'd like to hook up with
  127. Bruce again and ask him to readdress this question, please repost in Section
  128. 12, "WinNet and RPC".  There is also a Network Services section available in
  129. the WinNT forum, Section 11.
  130.  
  131. Thanks,
  132.   -- Jerry [@Microsoft]
  133.  
  134. #: 16289 S1/NonTech Cust. Serv.   
  135.     01-Nov-92  00:39:33
  136. Sb: robustness vs speed
  137. Fm: Jeong Ho Lee 70253,1244
  138. To: sysop (X)
  139.  
  140. Hello,
  141. Has Oct. Beta achieved *speed* by sacrificing *robustness* ? With Oct.
  142. release, everything is reasonably fast. I can use almost ALL Win16 apps and
  143. DOS Apps. TapCIS is working well.....Great! But reliability of Oct. release
  144. is not as solid as Jul release. With Jul release, my system never be locked
  145. or hanged. But Oct release *randomly* is broken. There has been no changes
  146. on my system. Even , I can not report BUG, since the behaviour is not
  147. re-produceable. We need robust OS, not fast OS. Because hardwares are always
  148. improving. Please do not sacrifice *robustness* to improve *speed*.
  149. jLee
  150.  
  151. There is 1 Reply.
  152.  
  153. #: 16394 S1/NonTech Cust. Serv.   
  154.     02-Nov-92  15:57:35
  155. Sb: #16289-robustness vs speed
  156. Fm: Jerry Drain [Microsoft] 72350,2056
  157. To: Jeong Ho Lee 70253,1244 (X)
  158.  
  159. We think much along the same lines as you do; it doesn't make since to
  160. sacrifice robustness for speed.  A slow piece of code is infinitely better
  161. than one that doesn't work at all.  This is the first time I've seen a report
  162. like you've submitted.  If you can at all narrow down the problems or find a
  163. pattern, please let us know.  Even if it is something only specific to your
  164. machine, we'd like to figure out what is going on and fix it.
  165.  
  166. Thanks,
  167.   -- Jerry [@Microsoft]
  168.  
  169. #: 16310 S1/NonTech Cust. Serv.   
  170.     01-Nov-92  15:18:06
  171. Sb: NTSD display drvr debug
  172. Fm: ray shapiro 71431,1450
  173. To: sysop (X)
  174.  
  175. Hi,
  176.  
  177. When I was out in Anaheim, I asked about using NTSD to debug
  178. display drivers.  The answer was "yes", but the magic incantaions
  179. went by a bit fast.  Could someone please post the rules for
  180. invoking NTSD to debug display drivers.
  181.  
  182. Thanks,
  183. Ray
  184.  
  185. There is 1 Reply.
  186.  
  187. #: 16400 S1/NonTech Cust. Serv.   
  188.     02-Nov-92  16:08:12
  189. Sb: #16310-NTSD display drvr debug
  190. Fm: Stu Wiley 70473,1351
  191. To: ray shapiro 71431,1450 (X)
  192.  
  193. Ray,
  194.  
  195. This message will probably get more specific attention if in the WINNT forum
  196. section 10 (Drivers).  Stu Wiley Developer Service Team
  197.  
  198. #: 16337 S1/NonTech Cust. Serv.   
  199.     02-Nov-92  10:08:43
  200. Sb: Where is system guide?
  201. Fm: Tim Johnson 71071,1215
  202. To: Sysop (X)
  203.  
  204. There's some discussion over on WINNT about how NT/SDK developers got the
  205. October release without the System Guide, even though it's mentioned in the
  206. two books we DID get (Release notes and WIN32s notes).  Evidently users'
  207. updates included this guide.
  208.  
  209. How can us humble developers get this thing?  Hate having users know more
  210. about installing it than me!
  211.  
  212. Tim Johnson Teknekron Software Systems 530 Lytton Ave. Suite 301 Palo Alto, CA
  213. 94301
  214.  
  215.  
  216.  
  217. There is 1 Reply.
  218.  
  219. #: 16388 S1/NonTech Cust. Serv.   
  220.     02-Nov-92  15:27:03
  221. Sb: #16337-Where is system guide?
  222. Fm: Dwight Matheny/Microsoft 70750,2340
  223. To: Tim Johnson 71071,1215 (X)
  224.  
  225. the system guide is on the cd in \doc\enduser\ps or \doc\enduser\write.
  226.  
  227. -Dwight (MS)
  228.  
  229.  
  230.  
  231.  
  232. There is 1 Reply.
  233.  
  234. #: 16401 S1/NonTech Cust. Serv.   
  235.     02-Nov-92  16:19:10
  236. Sb: #16388-Where is system guide?
  237. Fm: Tim Johnson 71071,1215
  238. To: Dwight Matheny/Microsoft 70750,2340 (X)
  239.  
  240. Dwight,
  241.  
  242. Thanks for the System Guide pointer.  I'll post this info over on WINNT too.
  243.  
  244. Tim
  245.  
  246. #: 16412 S1/NonTech Cust. Serv.   
  247.     02-Nov-92  16:47:13
  248. Sb: 2nd SDK Ship Date
  249. Fm: Jerry Drain [Microsoft] 72350,2056
  250. To: William H. Beebe, Jr. 70720,375 (X)
  251.  
  252. Hi William,
  253.  
  254. PMJI, but Dwight must be out of town.  We don't typically have information
  255. like this regarding support of specific hardware in future releases.  I
  256. understand for this, another driver will have to be written to support the
  257. CD-ROM under this card; however, Creative Labs will have to tell you
  258. specifically what work is being done towards this.
  259.  
  260. Their is a form that you can fill out and submit to help us identify the need
  261. for specific drivers on the market, so that we can take steps to insure
  262. they're produced.  I've cut and pasted the steps on how to fill out this form
  263. (hwfeed.txt) and submit it to us.
  264.  
  265. Thanks,
  266.   -- Jerry [@Microsoft]
  267.  
  268.  
  269. ===============================================================================
  270. Hwfeed.txtcan be found in MSWIN32, Lib 17; or WINNT, Lib 1.
  271.  
  272. In order to send mail to the address mentioned via CompuServe, you have to:
  273.  
  274.  * Leave the forum.
  275.  * At any "!" prompt, enter GO MAIL.
  276.  * Mail your request to:
  277.  ">internet:winnthw@microsoft.com"
  278.  
  279. #: 16273 S1/NonTech Cust. Serv.   
  280.     31-Oct-92  09:17:25
  281. Sb: Device Driver
  282. Fm: GMS 100063,2012
  283. To: Leon G Rollison 70421,1702
  284.  
  285. No!
  286.        
  287.  
  288. #: 16413 S1/NonTech Cust. Serv.   
  289.     02-Nov-92  16:47:20
  290. Sb: Device Driver
  291. Fm: Jerry Drain [Microsoft] 72350,2056
  292. To: Leon G Rollison 70421,1702
  293.  
  294. Hi Leon,
  295.  
  296. Just for future reference, if Dave to see something specifically, he doesn't
  297. typically visit this section.  He is more often in section 9 or section 12. To
  298. answer your questions, no, that card is not yet listed on the hardware
  299. compatibility list.
  300.  
  301. Thanks,
  302.   -- Jerry [@Microsoft]
  303.  
  304. #: 16449 S1/NonTech Cust. Serv.   
  305.     03-Nov-92  06:14:28
  306. Sb: More DRIVERS congestion
  307. Fm: Arthur Knowles 71041,2613
  308. To: Robert Eidson 70214,2115 (X)
  309.  
  310. Bob,
  311.  
  312. FWIW: I use qemm and it's stealth technology to create about 200+ Kb of UMB
  313. space. Even with WFW and Netware driver and my CD-ROM, etc I still have about
  314. 570+ kb free. I've stuffed the UMB space with these drivers (and a few low) so
  315. if EMM386 can't free enough memory you might think about qemm.
  316.  
  317. Art
  318.  
  319. PS: I also use Quick/C for Windows to do my normal compiles and only use MS C
  320. for the final optimization phase. It's worked very well since you don't have
  321. the DOS memory limits.
  322.  
  323. #: 16402 S1/NonTech Cust. Serv.   
  324.     02-Nov-92  16:30:50
  325. Sb: Beta release
  326. Fm: Frido Garritsen 100041,1671
  327. To: SYSOP (X)
  328.  
  329. I have purchased the July version of the SDK. Is it possible to get the newer
  330. October version? I have been a Beta tester for Windows 3.1.
  331.  
  332. Frido Garritsen Himalaya Software
  333.  
  334.  
  335.  
  336. There is 1 Reply.
  337.  
  338. #: 16451 S1/NonTech Cust. Serv.   
  339.     03-Nov-92  06:24:46
  340. Sb: #16402-Beta release
  341. Fm: Arthur Knowles 71041,2613
  342. To: Frido Garritsen 100041,1671 (X)
  343.  
  344. Frido,
  345.  
  346. <<I have purchased the July version of the SDK. Is it possible to get the
  347. newer October version?>>
  348.  
  349. The oct beta should be sent to you automatically along with all future
  350. updates.
  351.  
  352. Art
  353.  
  354. #: 16453 S1/NonTech Cust. Serv.   
  355.     03-Nov-92  07:42:14
  356. Sb: #16228-Win NT tradmark instruct
  357. Fm: Andrew Potter 71075,614
  358. To: Dwight Matheny/Microsoft 70750,2340 (X)
  359.  
  360. Dwight,
  361.  
  362. Found it!
  363.  
  364. Thanks,
  365.        Andrew
  366.  
  367. #: 16318 S1/NonTech Cust. Serv.   
  368.     01-Nov-92  19:05:25
  369. Sb: October/ dual boot
  370. Fm: frederick c kirk 70570,2273
  371. To: all
  372.  
  373. After installing the october beta version, (and selecting the NTFS file
  374. option) I discovered that I could not boot DOS (and could not run my
  375. telecommunications software to access this forum!). I re installed NT with the
  376. FAT option. then I could boot DOS. Am I doing something wrong? Do I give up
  377. the DOS option when I go to NTFS? When I tried to select "previous operating
  378. system on C" I got: BOOT: couldn't find NTLDR please insert another disk" and
  379. then things kind of locked up. Also, since July, I have had to boot DOS from a
  380. diskette, the "previous operating system on c" option hasn't worked. How do I
  381. re establish that?
  382.  
  383. There are 2 Replies.
  384.  
  385. #: 16457 S1/NonTech Cust. Serv.   
  386.     03-Nov-92  09:26:09
  387. Sb: #16318-October/ dual boot
  388. Fm: Stu Wiley 70473,1351
  389. To: frederick c kirk 70570,2273
  390.  
  391. Frederick, I suggest you place this in the WINNT forum section 3.  I have
  392. heard similar comments, relative to installation procedures.  I think someone
  393. there will be able to help you.
  394.  Stu Wiley
  395.  Developer Service Team
  396.  
  397. #: 16466 S1/NonTech Cust. Serv.   
  398.     03-Nov-92  09:50:41
  399. Sb: #16318-October/ dual boot
  400. Fm: Stu Wiley 70473,1351
  401. To: frederick c kirk 70570,2273
  402.  
  403. Frederick, I addition to the previous, you may want to take a look in section
  404. 7 of WINNT.
  405.  Stu Wiley
  406.  Developer Service Team
  407.  
  408. #: 16279 S1/NonTech Cust. Serv.   
  409.     31-Oct-92  10:44:16
  410. Sb: INSTALL NON_SCSI PRELIM
  411. Fm: Schroeder 74746,11
  412. To: All
  413.  
  414. Please Help!...Here's my problem...
  415.  
  416. Equipment:
  417.  
  418. Generic 386DX-33 system
  419. Proprietary SCSI (Sysquest) - not use for NT install
  420. Sound Blaster Pro based CD-ROM
  421. 3.5(A:) & 5.25(B:) Floppies
  422. 500MB Hard Storage (C:80MB D:420MB)
  423.  
  424. History:
  425.  
  426. Installed Pre-Release version using DOS method.
  427. Experienced one minor problem with keyboard...
  428. ...resolved by changing statis of keyboard in CMOS
  429. during one portion of the install.
  430. No other significant problems encountered in
  431. installation or operation of Pre-Release version
  432.  
  433. Problem encounter with Preliminary (October) Release:
  434.  
  435. First, removed prior copy of Windows NT from system.
  436. Using METHOD-2 label for networks or unsupported
  437. CD-ROM players.  WINNT prepares a floppy diskette,
  438. places a directory on the designated drive (D:)
  439. and attempts to reboot. 
  440. Unfortunately, floppy will not boot to NT.
  441. System hangs with the message:
  442.  
  443. BOOT: I/O error reading disk
  444. Please insert another disk
  445.  
  446. Of course, inserting disks, or pressing keys has
  447. no effect, the system is quite well hung. 
  448. Also, this is the same message that is received
  449. from the Microsoft suppied boot disk (for supported
  450. SCSI drives).
  451.  
  452. Does the floppy or the BIOS lack some degree of
  453. compatibility with the new release?  Is the
  454. proprietary SCSI controller confusing the boot
  455. system?  Did NT incorrectly create this "Setup"
  456. floppy?  Am I left out in the cold with no where
  457. to go?  Answers to these questions and more in
  458. messages to follow (I hope).
  459.  
  460. Thank you in advance for any and all assistance.
  461.  
  462. Schroeder
  463.  
  464.  
  465. There are 2 Replies.
  466.  
  467. #: 16324 S1/NonTech Cust. Serv.   
  468.     02-Nov-92  06:22:09
  469. Sb: #16279-INSTALL NON_SCSI PRELIM
  470. Fm: Schroeder 74746,11
  471. To: Schroeder 74746,11
  472.  
  473. OK...so I answered my own question...
  474.  
  475. For those that might experience similiar
  476. problems, here's the solution.
  477.  
  478. I removed the SyQuest Proprietary SCSI
  479. controller from my system and repeated
  480. the DOS installation procedure.  This time
  481. it work just fine.  Apparently, if WINNT
  482. finds a SCSI controller, it assumes that
  483. device 0 on that contrller will be the
  484. CD-ROM drive, Unfortunately, this is not
  485. a vaild assumtion on my system.
  486.  
  487. I am now plagued with two remaining problems. 
  488. The first one existed in the Pre-Release and
  489. is still present.  The second is new.
  490.  
  491. First.  After the initial boot, just as the
  492. screen turns to blue background text mode
  493. (for file system validation), the NumLock
  494. light on my keyboard is switched off and the
  495. keyboard is no longer accessible to the
  496. system.  When the Logon prompt appears, the
  497. keyboard lights are still off and no keypress,
  498. including the requested Crtl-Alt-Del, has any
  499. effect.  Even worse, this problem is
  500. intermittent...50% of the time it occurs and
  501. requires a system cold boot (system reset
  502. button will do)...50% of the time the system
  503. behaves just fine (no flashing keyboard lights
  504. or nuttin').  I have been unable to assertain
  505. any other relavant criteria for this failure
  506. as it occurs from a cold start with the same
  507. intermittent behavior... Any suggestions?
  508.  
  509. Second.  The Pre-Release version worked just
  510. fine with my ATI VGA Wonder XL mouse.  The
  511. Preliminary Release will not recognize it at
  512. all.  The Express install does setup the
  513. system for a Microsoft Inport Mouse, so I
  514. assume it found some hardware signature
  515. somewhere.  Help!?!
  516.  
  517. Thanks for your patience and assistance.
  518.  
  519. Schroeder
  520.  
  521.  
  522. There is 1 Reply.
  523.  
  524. #: 16467 S1/NonTech Cust. Serv.   
  525.     03-Nov-92  09:50:45
  526. Sb: #16324-INSTALL NON_SCSI PRELIM
  527. Fm: Stu Wiley 70473,1351
  528. To: Schroeder 74746,11
  529.  
  530. Schroeder, Still working...
  531.  Stu Wiley
  532.  
  533. #: 16342 S1/NonTech Cust. Serv.   
  534.     02-Nov-92  10:51:57
  535. Sb: #16279-INSTALL NON_SCSI PRELIM
  536. Fm: Stu Wiley 70473,1351
  537. To: Schroeder 74746,11 (X)
  538.  
  539. Schroeder, You may find better answers on the WINNT forum section 8, which
  540. deals specifically with hardware compatabilities.  I'll also check with some
  541. folks here to see how we can assist you.  Please make sure you post this in
  542. the WINNT forum as well.
  543.  Stu Wiley
  544.  Developer Service Team
  545.  
  546. #: 16486 S1/NonTech Cust. Serv.   
  547.     03-Nov-92  12:17:07
  548. Sb: INSTALL NON SCSI PROBLEM
  549. Fm: Stu Wiley 70473,1351
  550. To: schroeder 74746,11
  551.  
  552. Schroeder, The advice I received was to have you repost this message in the
  553. WINNT forum section 3.
  554.  Sounds like a driver problem and that's where the experts are.  they can
  555. assist and redirect you from there, hopfully it's somthing they've seen
  556. before.
  557.  Stu Wiley Developer Service Team
  558.  
  559. #: 16512 S1/NonTech Cust. Serv.   
  560.     03-Nov-92  16:30:15
  561. Sb: net start/stop [driver]
  562. Fm: Michael Hall 72607,3422
  563. To: Paul Sanders [MS] 72350,2053 (X)
  564.  
  565. Paul Sanders:
  566.  
  567. I am writing an NT device driver and would like to be able to dynamically
  568. load and unload it using "net start <drivername>" and "net stop <drivername>".
  569. If <drivername> is a monolithic device driver then the driver successfully
  570. loads and unloads.  Unfortunately, my device driver is layered.
  571.  
  572. My class driver successfully unloads but I am unable to reload it.  This is
  573. the error that it gives me the first time:
  574.  
  575.      System error 5 has occurred.
  576.      Access Denied.
  577.  
  578. This is the error that it gives me every other time:
  579.  
  580.      System error 2 has occurred.
  581.      The system cannot find the file specified.
  582.  
  583. The information printed out by my class driver indicates that it was unable
  584. to get the port device driver object.  I believe that this is because when
  585. the class driver is unloaded, I don't undo the effect of the
  586. IoGetDeviceObjectPointer() call that my class driver's DriverEntry() uses
  587. to establish a connection to my port driver.
  588.  
  589. If I try to unload my port driver then the system seems to go through some
  590. timeout period and then claims that it has unloaded my port driver:
  591.  
  592.      The BRUTUS service is stopping......
  593.      The BRUTUS service was successfully stopped.
  594.  
  595. However, the port driver's unload routine is never called and when I
  596. subsequently try to load my port driver I get the following error:
  597.  
  598.      The requested service has already been started.
  599.      More help is available by typing NET HELPMSG 2182.
  600.  
  601. I believe that the port driver is never really unloaded, but the net
  602. program incorrectly reports that it was.  I also believe that the reason
  603. that the port driver is unable to unload is because it thinks that it is
  604. still being used because the class driver was unable to undo the effect of
  605. its IoGetDeviceObjectPointer() call.
  606.  
  607. Please help me understand what is going wrong and explain how I can fix it.
  608.  
  609. Thanks for your time,
  610.  
  611. Clay Bean.
  612.  
  613. #: 16501 S1/NonTech Cust. Serv.   
  614.     03-Nov-92  15:13:48
  615. Sb: NT and Networks
  616. Fm: Michael L. Giancola 76416,1464
  617. To: All
  618.  
  619. Hello:
  620. Well, I finally have the correct hardware up and running to give NT's network
  621. capabilities a try. I am new to LANs so please be kind. Here goes...
  622. I want to run NT on the server. The work stations are currently running DOS
  623. 5.0 on one machine and Windows 3.1 on the other. If I can limit my purchases
  624. to one software package, what would it take to start the machines talking? Do
  625. I need to run NT on all stations? What about LAN Manager?
  626. Any and all help is appreciated.
  627. Confused in LANtown...
  628. Michael 
  629.  
  630. There is 1 Reply.
  631.  
  632. #: 16540 S1/NonTech Cust. Serv.   
  633.     03-Nov-92  20:13:17
  634. Sb: #16501-NT and Networks
  635. Fm: Jerry Drain [Microsoft] 72350,2056
  636. To: Michael L. Giancola 76416,1464 (X)
  637.  
  638. Hi Michael,
  639.  
  640. NT will work on a machine as a server, and will allow DOS clients to connect
  641. to it.  You don't have to be running NT on the work stations.  For more
  642. information, and follow up questions, please post to the Networking Services
  643. section (WinNT, Section 11).
  644.  
  645. Thanks,
  646.   -- Jerry [Win32 SDK Developer Support]
  647.  
  648. #: 16500 S1/NonTech Cust. Serv.   
  649.     03-Nov-92  15:11:11
  650. Sb: Can't "install" SDK
  651. Fm: Edward C Llewellyn 76360,3564
  652. To: sysop (X)
  653.  
  654. I successfully installed the new (Oct.) Windows NT release, and
  655. the Win32 SDK, but I can't get the icons to appear when
  656. I set up a new user account.  I tried using Windows NT Setup
  657. program with the Options|Setup Applications... command, but this
  658. won't make the icons for him, even after logging out and in again.
  659. I also tried the Options|Add/Remove Windows components... but this
  660. seems to have nothing to do with the SDK.
  661.  
  662. I'm using a 0x486 PC, by the way.
  663.  
  664. --Ed
  665.  
  666. There is 1 Reply.
  667.  
  668. #: 16541 S1/NonTech Cust. Serv.   
  669.     03-Nov-92  20:13:23
  670. Sb: #16500-Can't "install" SDK
  671. Fm: Jerry Drain [Microsoft] 72350,2056
  672. To: Edward C Llewellyn 76360,3564 (X)
  673.  
  674. Hi Ed,
  675.  
  676. Sorry, your question is in the wrong forum and wrong section.  This is for
  677. non-technical issues for the SDK (disk replacements, that sort of thing).
  678. Please repost your question in the WINNT forum.  I think the most appropriate
  679. section would be the Utilities and Applets section (Section 7). It looks like
  680. you're having some trouble with the User Manager.
  681.  
  682. Thanks,
  683.   -- Jerry [Win32 SDK Developer Support]
  684.  
  685. #: 16426 S1/NonTech Cust. Serv.   
  686.     02-Nov-92  19:13:58
  687. Sb: Logitech Mouse w/NT
  688. Fm: Trey C. Johnson 71213,1416
  689. To: Doug Olson [Microsoft] 72350,2635 (X)
  690.  
  691. Doug,
  692.  
  693. Hi, this is the first message I've sent on this forum.  I hope you don't mind,
  694. I got your name & address from another mail.  Is there a generic destination
  695. for NT questions?
  696.  
  697. I've installed the new October release of NT and it doesn't recognize my
  698. Logitech Bus Mouse.  Any ideas?
  699.  
  700. Thanks,
  701.  
  702. Trey Johnson
  703.  
  704. There are 2 Replies.
  705.  
  706. #: 16452 S1/NonTech Cust. Serv.   
  707.     03-Nov-92  06:26:57
  708. Sb: #16426-Logitech Mouse w/NT
  709. Fm: Arthur Knowles 71041,2613
  710. To: Trey C. Johnson 71213,1416
  711.  
  712. Trey,
  713.  
  714. <<I've installed the new October release of NT and it doesn't recognize my
  715. Logitech Bus Mouse.  Any ideas?>>
  716.  
  717. Last I heard NT only supported 100% MS compatible mice. I do not believe the
  718. Logitech mouse fits this description. You might talk to logitech and see what
  719. their NT plans are.
  720.  
  721. Art
  722.  
  723. #: 16543 S1/NonTech Cust. Serv.   
  724.     03-Nov-92  20:13:37
  725. Sb: #16426-Logitech Mouse w/NT
  726. Fm: Jerry Drain [Microsoft] 72350,2056
  727. To: Trey C. Johnson 71213,1416
  728.  
  729. Hi Trey,
  730.  
  731. No, we really don't have a generic place to ask NT questions.  We try to
  732. devide the question between two forums, with multiple sections.  The reason
  733. that we do this is so that we can locate our expertise in the appropriate
  734. sections; and so you can go to a section and look at postings related to your
  735. problem (instead of having to look at hundreds of LAN questions to solve your
  736. compiler issues etc.)  The MSWIN32 forum is for SDK and application
  737. development questions.  The WINNT forum is more for general questions about
  738. Windows NT.  The section you're looking for specifically is the WINNT, Section
  739. 3 "Setup".  They can address your issues for you.
  740.  
  741. Another thing to note, is that you don't have to address your post to anyone
  742. specific at Microsoft.  If you address it to Microsoft, or SysOp; someone from
  743. Microsoft will generally try to get involved in the thread.
  744.  
  745. Thanks,
  746.   -- Jerry [Win32 SDK Developer Support]
  747.  
  748. #: 16387 S1/NonTech Cust. Serv.   
  749.     02-Nov-92  15:26:24
  750. Sb: Can't inst. W/NEC CD Dr.
  751. Fm: John Brooks 70214,3533
  752. To: all
  753.  
  754. Having problem installing from CD ROM Drive "NEC CDR35" ? Keep getting message
  755. no cdrom present??? /exit
  756.  
  757. There are 2 Replies.
  758.  
  759. #: 16450 S1/NonTech Cust. Serv.   
  760.     03-Nov-92  06:22:09
  761. Sb: #16387-Can't inst. W/NEC CD Dr.
  762. Fm: Arthur Knowles 71041,2613
  763. To: John Brooks 70214,3533 (X)
  764.  
  765. John,
  766.  
  767. <<Having problem installing from CD ROM Drive "NEC CDR35" ? Keep getting
  768. message no cdrom present???>>
  769.  
  770. It appears that you have either an unsupported SCSI adapter or CD-ROM drive.
  771. But you can install NT with the manuall (WINNT) method and then the SDK with
  772. the manual (MANUAL) setup apps. They are documented in the release notes.
  773.  
  774. Art
  775.  
  776. #: 16544 S1/NonTech Cust. Serv.   
  777.     03-Nov-92  20:13:43
  778. Sb: #16387-Can't inst. W/NEC CD Dr.
  779. Fm: Jerry Drain [Microsoft] 72350,2056
  780. To: John Brooks 70214,3533
  781.  
  782. Hi John,
  783.  
  784. Art is right, the NEC CDR35 doesn't appear to be on the hardware compatibility
  785. list yet.  For follow up questions, or more information; please post your
  786. setup questions in the WINNT forum, Section 3 "System Setup"
  787.  
  788. Thanks,
  789.   -- Jerry [Win32 SDK Developer Support]
  790.  
  791. #: 16435 S1/NonTech Cust. Serv.   
  792.     02-Nov-92  22:13:11
  793. Sb: NT for pen-computers?
  794. Fm: David A Hand 70621,3624
  795. To: ALL
  796.  
  797. Does anyone know if Microsoft intends to have a version of NT running on
  798. pen-computers? I had assumed the memory requirements would preclude this, but
  799. I recently read somewhere that they are experimenting with a ROM verson of NT
  800. for portables. Will this include the pen extensions?
  801. Thanks,
  802. Dave Hand 
  803.  
  804. There is 1 Reply.
  805.  
  806. #: 16468 S1/NonTech Cust. Serv.   
  807.     03-Nov-92  09:50:49
  808. Sb: #16435-NT for pen-computers?
  809. Fm: Stu Wiley 70473,1351
  810. To: David A Hand 70621,3624 (X)
  811.  
  812. Dave, It is my understanding that we are working on supporting teh same things
  813. with NT as we do with Windows.  I have no specific information, but
  814. undoubtedly this is being addressed somewhere within MS.  You may want to ask
  815. these theoretical questions in the WINEXT forum...where the PEN folks reside. 
  816. They may have a better handle on the specific issues.
  817.  Stu Wiley
  818.  Developer Service Team
  819.  
  820.  
  821.  
  822. There is 1 Reply.
  823.  
  824. #: 16558 S1/NonTech Cust. Serv.   
  825.     03-Nov-92  23:33:27
  826. Sb: #16468-NT for pen-computers?
  827. Fm: David A Hand 70621,3624
  828. To: Stu Wiley 70473,1351 (X)
  829.  
  830. Stu,
  831. Thanks, I'll do that.
  832.  
  833. #: 16592 S1/NonTech Cust. Serv.   
  834.     04-Nov-92  10:35:34
  835. Sb: CMD white space for BAT
  836. Fm: Chuck Atwood 76004,1602
  837. To: sysop (X)
  838.  
  839. The new command interpreter CMD.EXE apparently does not treat
  840. horizontal tabs (0x09) as white space.  Executing the following
  841. batch file creates error message "cannot find the label setnt300".
  842. The batch file will run correctly under DOS 5.0, but not in the
  843. MSDOS window under NT.  The characters <HT><CR><LF> follow
  844. "goto setnt300" in line 3.
  845.  
  846. echo off
  847.   if "%1"=="" goto help
  848.   if "%1"=="nt300" goto setnt300       
  849.   goto help
  850.  
  851. :setnt300
  852.   set CADVER=300
  853.   set WINVER=0x0314
  854.   set CADSRC=\SRCNT300
  855.   goto exit
  856.  
  857. :help
  858.   echo Copyright (c) 1992 Foresight Resource Corporation
  859.   echo CADSET [os-ver] [country]
  860. :exit
  861.  
  862. Chuck Atwood (Foresight Resources Corporation)
  863.  
  864. #: 16595 S1/NonTech Cust. Serv.   
  865.     04-Nov-92  10:37:22
  866. Sb: SUBST problem
  867. Fm: Chuck Atwood 76004,1602
  868. To: sysop (X)
  869.  
  870. Problem with the SUBST command using the MSDOS windows under NT:
  871.  
  872. The copy command won't work when copying a file from one SUBST drive
  873. to another ("cant find device"):
  874.  
  875.         SUBST I: \SRCWN210
  876.         SUBST J: C:\SRCNT300
  877.         copy I:a.b J:a.b
  878.         
  879. Chuck Atwood (Foresight Resources Corporation)
  880.  
  881. #: 16576 S1/NonTech Cust. Serv.   
  882.     04-Nov-92  07:33:25
  883. Sb: DDK offer, when ?
  884. Fm: Jeong Ho Lee 70253,1244
  885. To: SYSOP (X)
  886.  
  887. Hello,
  888. I heard from this Forum that MS was going to send SDK users DDK offer (
  889. discount ? ) If it's a discount offer, do we have to wait for it ? I mean,
  890. can we just call MS right now and get DDK after verifying ourselves SDK
  891. owner ? What's going on ?
  892. Thanks
  893. jLee
  894.  
  895. There is 1 Reply.
  896.  
  897. #: 16624 S1/NonTech Cust. Serv.   
  898.     04-Nov-92  13:22:30
  899. Sb: #16576-DDK offer, when ?
  900. Fm: Dwight Matheny/Microsoft 70750,2340
  901. To: Jeong Ho Lee 70253,1244 (X)
  902.  
  903. It's not a discount offer. We will mail the info on the DDK before it ships,
  904. in plenty of time to place an order. We're asking that you not call to place
  905. an order right now because our Developer Services Team is swamped w/ calls for
  906. the SDK, MSDN, and the new Visual Basic 2.0.
  907.  
  908. -Dwight (MS)
  909.  
  910. #: 16569 S1/NonTech Cust. Serv.   
  911.     04-Nov-92  05:40:47
  912. Sb: Oct. release in Europe
  913. Fm: Tom Doust 100015,3011
  914. To: MSFT
  915.  
  916. What's the deal about european customers getting october release. I got my
  917. July PDK by going to the European developers conference and I kind of assumed
  918. that I would get the next release automatically. I'm now reading all these
  919. messages from people saying how much better the new version is and I haven't
  920. got it!
  921.  
  922. Do I have to do something or will it happen automatically - just a bit slower
  923. than in the US.
  924.  
  925.  
  926. There is 1 Reply.
  927.  
  928. #: 16625 S1/NonTech Cust. Serv.   
  929.     04-Nov-92  13:22:35
  930. Sb: #16569-Oct. release in Europe
  931. Fm: Dwight Matheny/Microsoft 70750,2340
  932. To: Tom Doust 100015,3011 (X)
  933.  
  934. It will happen automatically. Our European subs started receiving their SDKs a
  935. few days ago.
  936.  
  937. -Dwight (MS)
  938.  
  939. #: 16292 S1/NonTech Cust. Serv.   
  940.     01-Nov-92  09:00:15
  941. Sb: DDK Availability
  942. Fm: Anthony Wilkinson 100010,2312
  943. To: Sysop (X)
  944.  
  945. Hi,
  946.  
  947. I'm in the UK, and I 'phoned MS UK about getting the CD only DDK, and was told
  948. this was not possible. I only need the DDK to write 'personal' drivers for
  949. some lab equipment - I don't want to spend 500 pounds ($800) going to a
  950. conference! Can you please advise on how I can get hold of this CD?
  951.  
  952. Thanks,
  953.  
  954. Anthony.
  955.  
  956.  
  957.  
  958. There are 3 Replies.
  959.  
  960. #: 16336 S1/NonTech Cust. Serv.   
  961.     02-Nov-92  10:07:15
  962. Sb: #16292-DDK Availability
  963. Fm: Dwight Matheny/Microsoft 70750,2340
  964. To: Anthony Wilkinson 100010,2312 (X)
  965.  
  966. I've sent mail to MS UK to see what's going on here. Perhaps they're just not
  967. taking orders yet since the product won't ship for several weeks.
  968.  
  969. -Dwight (MS)
  970.  
  971.  
  972.  
  973. There is 1 Reply.
  974.  
  975. #: 16361 S1/NonTech Cust. Serv.   
  976.     02-Nov-92  12:40:48
  977. Sb: #16336-DDK Availability
  978. Fm: Anthony Wilkinson 100010,2312
  979. To: Dwight Matheny/Microsoft 70750,2340 (X)
  980.  
  981. DM>I've sent mail to MS UK to see what's going on here. Perhaps they're just
  982. not DM>taking orders yet since the product won't ship for several weeks.
  983.  
  984. Cheers Dwight - I look forward to the outcome.
  985.  
  986. Anthony.
  987.  
  988. #: 16389 S1/NonTech Cust. Serv.   
  989.     02-Nov-92  15:38:10
  990. Sb: #16292-DDK Availability
  991. Fm: Graham Welland 70023,1267
  992. To: Anthony Wilkinson 100010,2312 (X)
  993.  
  994. I suspect that the response to your query is to that you should wait until the
  995. product goes retail.
  996.  
  997. On the other hand, the NT DD conference should be interesting.... certainly
  998. better value than the UK windows developer conference.
  999.  
  1000. Graham (in UK)
  1001.  
  1002. #: 16474 S1/NonTech Cust. Serv.   
  1003.     03-Nov-92  10:49:45
  1004. Sb: #16292-DDK Availability
  1005. Fm: Dwight Matheny/Microsoft 70750,2340
  1006. To: Anthony Wilkinson 100010,2312 (X)
  1007.  
  1008. Anthony,
  1009.  
  1010. I got a response from MS UK. The situation there is the same as here- the DDK
  1011. was made available first at the conference, but is also orderable by people
  1012. not attending the conference. We will be shipping the DDK to non-conference
  1013. attendees as soon as the docs are ready to go. You should be able to order
  1014. this from MS UK now.
  1015.  
  1016. -Dwight (MS)
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023. There are 2 Replies.
  1024.  
  1025. #: 16496 S1/NonTech Cust. Serv.   
  1026.     03-Nov-92  14:55:21
  1027. Sb: #16474-DDK Availability
  1028. Fm: Christian Beaumont 100034,2326
  1029. To: Dwight Matheny/Microsoft 70750,2340 (X)
  1030.  
  1031. Errrm, I'm going to the DDK conference this Thursday (5th Nov ) and I am
  1032. destined to get a copy of the DDK. However I just read that there is to be a
  1033. NEW DDK in the next week, how long will that take to filter through to the UK
  1034. developer (2nd class citizens) ? Any ideas?
  1035.  
  1036. Christian
  1037.  
  1038. There is 1 Reply.
  1039.  
  1040. #: 16632 S1/NonTech Cust. Serv.   
  1041.     04-Nov-92  13:45:12
  1042. Sb: #16496-DDK Availability
  1043. Fm: Dwight Matheny/Microsoft 70750,2340
  1044. To: Christian Beaumont 100034,2326
  1045.  
  1046. There is no new DDK. We cut special CDs without the docs for the two
  1047. developers conferences. The CDs that everyone else will be receiving will be
  1048. exactly the same except for the online docs (which weren't ready in time for
  1049. the conference.)
  1050.  
  1051. -Dwight (MS)
  1052.  
  1053. #: 16513 S1/NonTech Cust. Serv.   
  1054.     03-Nov-92  16:40:32
  1055. Sb: #16474-DDK Availability
  1056. Fm: Anthony Wilkinson 100010,2312
  1057. To: Dwight Matheny/Microsoft 70750,2340 (X)
  1058.  
  1059. Dwight,
  1060.  
  1061. I can't order it now, 'cos I've tried. Do you have a date for when it will be
  1062. ready (to within a week or to) so I can try again around then?
  1063.  
  1064. Thanks, Anthony.
  1065.  
  1066.  
  1067.  
  1068. There is 1 Reply.
  1069.  
  1070. #: 16631 S1/NonTech Cust. Serv.   
  1071.     04-Nov-92  13:45:08
  1072. Sb: #16513-DDK Availability
  1073. Fm: Dwight Matheny/Microsoft 70750,2340
  1074. To: Anthony Wilkinson 100010,2312
  1075.  
  1076. No, I don't know the UK dates. My goal is to ship in the US before the end of
  1077. the month. My contact at MS UK told me they are now taking orders- I'll send
  1078. him your message to let him know that's not true.
  1079.  
  1080. -Dwight (MS)
  1081.  
  1082. #: 16290 S1/NonTech Cust. Serv.   
  1083.     01-Nov-92  04:12:09
  1084. Sb: NT BETA !!!!!
  1085. Fm: Derek Hellmons 100022,1636
  1086. To: ALL
  1087.  
  1088. Hi
  1089.   I'v been calling Microsoft in munchen (germany) trying to get a lead where I
  1090. can get a hold of the Windows NT beta I did a lot of work on the win 3.1 beta
  1091. ,even helped Microsoft get the german OEM version out on time and now ....I
  1092. don't now sir please call next week....is this the way microsoft wants to
  1093. become the world leader....
  1094.  
  1095.  
  1096. If any one can give me a number any where in the World where I can get a Hold
  1097. of the NT beta then thanks in advance..
  1098.  
  1099.  
  1100. Derek.
  1101.  
  1102. There is 1 Reply.
  1103.  
  1104. #: 16343 S1/NonTech Cust. Serv.   
  1105.     02-Nov-92  10:52:02
  1106. Sb: #16290-NT BETA !!!!!
  1107. Fm: Stu Wiley 70473,1351
  1108. To: Derek Hellmons 100022,1636 (X)
  1109.  
  1110. I'll forward your request to the Munchen SUB.  they typically have a time lag
  1111. behind the U.S. so be patient.  Stu Wiley Developer Service Team
  1112.  
  1113.  
  1114.  
  1115.  
  1116. There is 1 Reply.
  1117.  
  1118. #: 16377 S1/NonTech Cust. Serv.   
  1119.     02-Nov-92  14:36:20
  1120. Sb: #16343-NT BETA !!!!!
  1121. Fm: Derek Hellmons 100022,1636
  1122. To: Stu Wiley 70473,1351 (X)
  1123.  
  1124. Thanks
  1125.       But whats his name,I mean the guy in munchen so I can bug him,Iknow that
  1126. not everyone at MS looks at there email everday (or was that week) so that I
  1127. can Bug him.We have many Large customers interesed,Insurance companys, Banks
  1128. and little old MAN (largest truck manufacture) and all we have to show is a
  1129. copyed SDK....which crashes they want to Spend Mega DM in Downsizing and all
  1130. we hear is "oh I'm sorry We don't have anyone here you can help you sir..."
  1131.  
  1132.  
  1133. Thanks in advance
  1134.  
  1135. Derek...
  1136.  
  1137. There is 1 Reply.
  1138.  
  1139. #: 16641 S1/NonTech Cust. Serv.   
  1140.     04-Nov-92  15:32:49
  1141. Sb: #16377-NT BETA !!!!!
  1142. Fm: Stu Wiley 70473,1351
  1143. To: Derek Hellmons 100022,1636 (X)
  1144.  
  1145. The product management isn't on CIS.  I'll ask for a phone call if you want to
  1146. post the number.   Stu Wiley
  1147.  Developer Service Team
  1148.  
  1149. #: 16679 S1/NonTech Cust. Serv.   
  1150.     04-Nov-92  20:11:09
  1151. Sb: Windows NT Hardware
  1152. Fm: Mark Westerhaus 72427,2000
  1153. To: Mark Westerhaus
  1154.  
  1155. How can I obtain the Hardware Compatibility List for Windows NT?
  1156.  
  1157. There is 1 Reply.
  1158.  
  1159. #: 16768 S1/NonTech Cust. Serv.   
  1160.     05-Nov-92  16:10:44
  1161. Sb: #16679-Windows NT Hardware
  1162. Fm: Dwight Matheny/Microsoft 70750,2340
  1163. To: Mark Westerhaus 72427,2000 (X)
  1164.  
  1165. This should be in library 17, 1092hw.txt.
  1166.  
  1167. -Dwight (MS)
  1168.  
  1169. #: 16779 S1/NonTech Cust. Serv.   
  1170.     05-Nov-92  18:01:46
  1171. Sb: Shareware Editor
  1172. Fm: Dan  Sodhi 71212,2333
  1173. To: All
  1174.  
  1175. Does any one know of a Windows based (NT would be better) Programmer's Editor
  1176. I can download.    
  1177.  
  1178. #: 16593 S1/NonTech Cust. Serv.   
  1179.     04-Nov-92  10:36:25
  1180. Sb: NMAKE problems
  1181. Fm: Chuck Atwood 76004,1602
  1182. To: sysop (X)
  1183.  
  1184. NMAKE doesn't check dependencies correctly for directories.  The
  1185. following makefile works using NMAKE from C7 with DOS 5.0 but will
  1186. display "'CHUCK' is up-to-date" in the MSDOS window under NT.
  1187. I am using the FAT file system.  Make a directory CHUCK and type:
  1188. NMAKE -f NTBAD.MAK.
  1189.  
  1190.         # NTBAD.MAK
  1191.         # author: cla
  1192.  
  1193.         DIRS = CHUCK
  1194.  
  1195.         $(DIRS):
  1196.                 cd $(*)
  1197.                 copy ..\ntbad.mak .
  1198.                 cd..
  1199.  
  1200.         # [EndOfMake]
  1201.  
  1202. P.S. NMAKE needs !ELSE which is available in 3.1/C700 SDK.
  1203.  
  1204. Chuck Atwood (Foresight Resources Corporation)
  1205.  
  1206. #: 16790 S1/NonTech Cust. Serv.   
  1207.     05-Nov-92  19:10:39
  1208. Sb: NMAKE problems
  1209. Fm: Chuck Atwood 76004,1602
  1210. To: Jerry Drain [Microsoft] 72350,2056 (X)
  1211.  
  1212. Sorry, sending my NMAKE problem to Tools was my intention.
  1213.  
  1214. This is my first adventure in compuserve land.
  1215.  
  1216. #: 16351 S1/NonTech Cust. Serv.   
  1217.     02-Nov-92  11:36:54
  1218. Sb: Shareware contest
  1219. Fm: Robert Zeff 70323,1251
  1220. To: All
  1221.  
  1222. I have not received confirmation of my entry into the shareware contest. Has
  1223. anyone else?
  1224.  
  1225. Thanks,
  1226.  
  1227. -Robert
  1228.  
  1229.  
  1230.  
  1231.  
  1232. There is 1 Reply.
  1233.  
  1234. #: 16528 S1/NonTech Cust. Serv.   
  1235.     03-Nov-92  17:53:45
  1236. Sb: #16351-Shareware contest
  1237. Fm: Daniel Green 70312,3470
  1238. To: Robert Zeff 70323,1251 (X)
  1239.  
  1240. I also submitted an entry to the shareware contest, and I haven't received any
  1241. acknowledgement or info from Microsoft about it (not that I expected any, but
  1242. it would nice to know that they at least received the package).  By the way,
  1243. my app doesn't run on the October release - it is looking for "USERRTL.DLL"
  1244. which doesn't exist (apparently) in the October release.  Looks like I must
  1245. have linked with the wrong run-time library libs or something.  Oh well.  I
  1246. guess 24 hours before Comdex I'll get a call asking me to recompile and
  1247. resubmit my app...
  1248. -- Dan
  1249.  
  1250.  
  1251. There are 2 Replies.
  1252.  
  1253. #: 16572 S1/NonTech Cust. Serv.   
  1254.     04-Nov-92  05:57:35
  1255. Sb: #16528-Shareware contest
  1256. Fm: Bill Cohagan 74375,313
  1257. To: Daniel Green 70312,3470
  1258.  
  1259. Dan-
  1260.  
  1261.  |                                                   ...   By the way, my
  1262.  |app doesn't run on the October release - it is looking for "USERRTL.DLL"
  1263. which
  1264.  |doesn't exist (apparently) in the October release.  Looks like I must have
  1265.  |linked with the wrong run-time library libs or something.
  1266.  
  1267. I've seen others with this problem and, as I recall, it indicates that you
  1268. have not recompiled your app under the Oct release.  If you *have* then you
  1269. might double check you makefile to see if one or more modules got left out. I
  1270. think all it takes is one module not recompiled and you'll get this error. As
  1271. I understand it this DLL doesn't exist anymore (obviously!) and its components
  1272. have been distributed among other DLLs that *do* exist.
  1273.  
  1274. Hope this helps.
  1275.  
  1276.  Bill
  1277.  
  1278. #: 16587 S1/NonTech Cust. Serv.   
  1279.     04-Nov-92  09:56:22
  1280. Sb: #16528-Shareware contest
  1281. Fm: Len Gray 71630,1703
  1282. To: Daniel Green 70312,3470
  1283.  
  1284. I contacted Microsoft regarding shareware contest entries and the October
  1285. release.  All apps have the same problem - there were changes made to the
  1286. library call formats.
  1287.  
  1288. I was told that all entries would be judged under the July pre-release so that
  1289. no rebuilds are required.  Whether or not MS will ask for rebuilds of apps
  1290. following the judging, I'm not sure.
  1291.  
  1292.   Len
  1293.  
  1294.  
  1295.  
  1296. There is 1 Reply.
  1297.  
  1298. #: 16796 S1/NonTech Cust. Serv.   
  1299.     05-Nov-92  19:53:14
  1300. Sb: #16587-Shareware contest
  1301. Fm: Jerry Drain [Microsoft] 72350,2056
  1302. To: Len Gray 71630,1703 (X)
  1303.  
  1304. Hi all,
  1305.  
  1306.  >>I was told that all entries would be judged under the July pre-release so
  1307. that
  1308.   no rebuilds are required.  Whether or not MS will ask for rebuilds of apps
  1309.   following the judging, I'm not sure.
  1310.  
  1311. I've done some checking around on this.  The submissions are being tested
  1312. under the July release; and although it says in the form that you may be asked
  1313. to rebuild your sample with a later release, it doesn't look like that is
  1314. being the case so far.  Earlier in this thread someone asked about
  1315. confirmation for the submissions.  Apparently confirmations started going out
  1316. only just a day or so ago.  If you haven't received a confirmation for your
  1317. submission, it's nothing to worry about at this point.
  1318.  
  1319. Thanks,
  1320.   -- Jerry [Win32 SDK Developer Support]
  1321.  
  1322. #: 16546 S1/NonTech Cust. Serv.   
  1323.     03-Nov-92  21:22:47
  1324. Sb: WIN32 PROGRAMMING
  1325. Fm: Michael Trier 71044,2032
  1326. To: ALL
  1327.  
  1328. I am a Visual Basic programmer and before that in Turbo Pascual.  I am
  1329. interested in writing Windows programs in C (With the big boys).  I would like
  1330. to start out writing 32 Bit programs, to avoid the transition from 16 Bit
  1331. Windows.  I have the Win32 SDK CD-ROM.  What else do I need to begin writing
  1332. 32 bit Windows programs.  I will need some C instruction,  I've messed around
  1333. with C in the past but I'm not strong in it.  Any help would be appreciated
  1334.  
  1335. Thanx
  1336. Michael
  1337.  
  1338. There is 1 Reply.
  1339.  
  1340. #: 16758 S1/NonTech Cust. Serv.   
  1341.     05-Nov-92  15:17:57
  1342. Sb: #16546-WIN32 PROGRAMMING
  1343. Fm: Stu Wiley 70473,1351
  1344. To: Michael Trier 71044,2032 (X)
  1345.  
  1346. Michael,
  1347.  
  1348. I strongly suggest that you reconsider your order of development priority.
  1349. Although with the WIN32SDK  (32S) you can create 32 apps and run them on the
  1350. 16 bit platforms, WINNT is probably best utilized through production of a
  1351. WIndows 3.1 16 bit application first.  Not only more forgiving as a
  1352. development platform, the skills gained will be readily adaptable to the
  1353. closely structured WIN32 API, and speed your development effort through a
  1354. flatter learning curve.  (Sort of like graduating the 101 course before
  1355. tackling the next level.)  Microsoft has taken great efforts to bring visual
  1356. BASIC programmers into the C world through Quick C for Windows, and then
  1357. teaching you to leverage the skills learned by moving up to the C/C++ 7.0 and
  1358. the Windows 3.1 SDK. Arguably, this is where the majority of the Windows ISV's
  1359. are, necessitating Microsoft's attention to this large group needing smooth
  1360. upward migration.
  1361.  
  1362. You should consider attending a Microsoft University Windows programming track
  1363. or C course, the catalog is available at 206/828-1507.  Strengthen your
  1364. skills, and then put them to use with the SDK's.  Don't worry, the WIN32SDK
  1365. CD-Roms will become that much more valuable to you.  Anyway, give it a wack,
  1366. and welcome aboard.
  1367.  Stu Wiley
  1368.  Developer Service Team
  1369.  
  1370.  
  1371.  
  1372. There is 1 Reply.
  1373.  
  1374. #: 16800 S1/NonTech Cust. Serv.   
  1375.     05-Nov-92  20:59:02
  1376. Sb: #16758-WIN32 PROGRAMMING
  1377. Fm: Michael Trier 71044,2032
  1378. To: Stu Wiley 70473,1351 (X)
  1379.  
  1380. Stu,
  1381.  
  1382. <<Reconsider your order of approaching Windows programming in C>>
  1383.  
  1384.         Thanks for the info.  After alot of reviewing today, I also came to
  1385. your conclussion that Quick C for Windows would be a good place for me to
  1386. start and then move on to MS C/C++ 7.0  and the Win 3.1 SDK.  I'm looking
  1387. forward to the world of Windows programming.
  1388.  
  1389. Sincerely,
  1390.  
  1391. Michael
  1392.  
  1393. #: 16804 S1/NonTech Cust. Serv.   
  1394.     05-Nov-92  22:44:04
  1395. Sb: July NT Video Drivers...
  1396. Fm: Steve Gibson 76067,4106
  1397. To: ALL
  1398.  
  1399.  
  1400. Hello Anyone!
  1401.  
  1402. I'm going NUTS looking at this 640x480 VGA standard res screen.  I've got S3
  1403. and Tseng4000 based boards ... but NT's setup won't give me these options.  I
  1404. can even see some tasty DLL's named TS_1024 and V7_1024 ... but they're
  1405. "beyond reach" !!!
  1406.  
  1407. Has ANYONE got any idea how to get the JULY version of NT (October worked
  1408. fine, but I **MUST** use JULY for judging the NT Shareware contest for COMDEX)
  1409. to ask me for more video card options??????????
  1410.  
  1411. HELP!                  ----->                  - Steve Gibson
  1412.                                                  (InfoWorld Magazine)
  1413.                                                  (SpinRite)
  1414.  
  1415.  
  1416.  
  1417.  
  1418. There is 1 Reply.
  1419.  
  1420. #: 16805 S1/NonTech Cust. Serv.   
  1421.     06-Nov-92  01:05:42
  1422. Sb: #16804-July NT Video Drivers...
  1423. Fm: Peter Handsman[Inmark] 70550,2570
  1424. To: Steve Gibson 76067,4106
  1425.  
  1426. Steve,
  1427.  
  1428. It isn't as easy as a config dialog box...
  1429.  
  1430. If you read the July release notes, pages 54-55.  It has descriptions of how to
  1431. use et4000 and video-7 boards.  It's basicly a matter of copying the .sys
  1432. file to vga.sys, and the correct .dll file to vga.dll. (if running nt you
  1433. must ren the old files so that you don't get sharing violations)
  1434.  
  1435. Since you mentioned the et4000....
  1436.  
  1437. et400_60.sys --> vga.sys  60hz
  1438. et400_70.sys --> vga.sys  70hz
  1439. pdii.sys     --> vga.sys Orchard ProDesigner IIs
  1440.  
  1441. And
  1442.  
  1443. ts_1024.dll  --> vga.dll   1024x786
  1444. ts_800.dll   --> vga.dll    800x600
  1445.  
  1446. Good Luck.
  1447.  
  1448. Peter
  1449.  
  1450. #: 16314 S1/NonTech Cust. Serv.   
  1451.     01-Nov-92  17:25:45
  1452. Sb: WIN32 Shipment == WfW !
  1453. Fm: Mark Gibbons 76216,1032
  1454. To: Wayne C. Cannon 72330,177 (X)
  1455.  
  1456.        Actually, Wayne, the WFW disks probably are worth more than the CD.
  1457. Hopefully it's WFW 2.0. A great software product, from what I understand.
  1458.  
  1459.  
  1460.  
  1461. There is 1 Reply.
  1462.  
  1463. #: 16806 S1/NonTech Cust. Serv.   
  1464.     06-Nov-92  01:21:10
  1465. Sb: #16314-WIN32 Shipment == WfW !
  1466. Fm: Wayne C. Cannon 72330,177
  1467. To: Mark Gibbons 76216,1032 (X)
  1468.  
  1469. Unfortunately I   1) Already have WfW 2.0, and   2) am pretty insistant on
  1470. keeping straight-up in all my dealings with vendors, including Microsoft.
  1471. Unfortunately, with the very significant discounts being offered to and
  1472. demanded by large accounts, we little guys are the only ones paying
  1473. significant bucks for application software products like WfW.
  1474.  
  1475. Thanks.
  1476.  
  1477. --Wayne
  1478.  
  1479. #: 16702 S1/NonTech Cust. Serv.   
  1480.     05-Nov-92  04:25:20
  1481. Sb: Getting old messages
  1482. Fm: Randy Threewits 71005,1373
  1483. To: sysop (X)
  1484.  
  1485. Is there a way to retrieve old messages?  I was in a message thread addressing
  1486. a problem with the last message number of 15455.  I went to the DDK conference
  1487. and on vacation.  And it now that I'm back it seems that I have missed any
  1488. responses to my last message. If these old messages are in an archive
  1489. somewhere, please point me there. I found in the WINNT forum the archive
  1490. library, where they have a ZIP file of all the messages in WINNT for each
  1491. week.  If there does not exist such a library for MSWIN32, it would be a good
  1492. idea to add one.
  1493.  
  1494. Thanks.
  1495.  
  1496. There is 1 Reply.
  1497.  
  1498. #: 16781 S1/NonTech Cust. Serv.   
  1499.     05-Nov-92  18:04:43
  1500. Sb: #16702-Getting old messages
  1501. Fm: Jerry Drain [Microsoft] 72350,2056
  1502. To: Randy Threewits 71005,1373 (X)
  1503.  
  1504. What section were you in Randy?  I know that Otto Fung was zipping them and
  1505. uploading messages to one of the libraries; but I haven't been up there nor
  1506. have I heard anything lately about this, so I don't know where they are on
  1507. this.  However, the internal tool that I use is able to retrieve some of the
  1508. messages that have scrolled off.  If you like, I can grab them and paste them
  1509. into a post to you.  I do have to know what section they are in though so that
  1510. this tool can find them.
  1511.  
  1512. Thanks,
  1513.   -- Jerry [Win32 SDK Developer Support]
  1514.  
  1515.  
  1516.  
  1517. There is 1 Reply.
  1518.  
  1519. #: 16807 S1/NonTech Cust. Serv.   
  1520.     06-Nov-92  03:59:19
  1521. Sb: #16781-Getting old messages
  1522. Fm: Randy Threewits 71005,1373
  1523. To: Jerry Drain [Microsoft] 72350,2056 (X)
  1524.  
  1525. The section of the message was #13 (NT DDK), the message number that I needed
  1526. and any resulting responses was #15455. Thanks for bailing me out, I guess I
  1527. shouldn't take vacations eh?
  1528.  
  1529. #: 16672 S1/NonTech Cust. Serv.   
  1530.     04-Nov-92  18:49:32
  1531. Sb: NT Speaker
  1532. Fm: Douglas MacDonald 70760,20
  1533. To: sysop (X)
  1534.  
  1535. I am involved in the /cny UNIX Users Group and would like to have someone
  1536. knowledgeable of Windows NT speak at our December 10th UNIX User Group
  1537. meeting.  I have spoken with a Bryan Moran at Microsoft and he indicated that
  1538. there was perhaps someone in Ithaca New York who could do it.  It has been a
  1539. couple weeks since I last spoke with Bryan and have left several voice mails
  1540. on his phone but he has never returned them.
  1541.  
  1542. Is there someone available to speak on NT?  We are a small group (60 members,
  1543. 300 mailing list) and are not able to pay for the speaker or the
  1544. transportation.  Bryan seemed to indicate that Microsoft had "Evangelists"
  1545. just for this type of NT presentation.    Thanks   Doug MacDonald
  1546.  
  1547.  
  1548.  
  1549.  
  1550. There is 1 Reply.
  1551.  
  1552. #: 16821 S1/NonTech Cust. Serv.   
  1553.     06-Nov-92  10:47:00
  1554. Sb: #16672-NT Speaker
  1555. Fm: Stu Wiley 70473,1351
  1556. To: Douglas MacDonald 70760,20
  1557.  
  1558. Doug,
  1559.  
  1560. I sent your request on to the various parties who handle speaking engagements
  1561. relative to NT.  I'm waiting for a response and will fill you in as soon as I
  1562. hear anything.
  1563.  Stu Wiley
  1564.  Developer Service Team
  1565.  
  1566. #: 16302 S1/NonTech Cust. Serv.   
  1567.     01-Nov-92  12:25:44
  1568. Sb: Oct. rel. in Canada
  1569. Fm: Louis Bouchard 72301,3565
  1570. To: all
  1571.  
  1572. When canadian developers are supposed to receive the october release of
  1573. Windows NT ?
  1574.  
  1575. and could you please check if my name is still on your mailing list:
  1576.    Louis Bouchard
  1577.    179 Des Jesuites
  1578.    Chicoutimi, PQ
  1579.    G7H 3B4, Canada
  1580.  
  1581. Thanks
  1582.  
  1583. There is 1 Reply.
  1584.  
  1585. #: 16399 S1/NonTech Cust. Serv.   
  1586.     02-Nov-92  16:08:07
  1587. Sb: #16302-Oct. rel. in Canada
  1588. Fm: Stu Wiley 70473,1351
  1589. To: Louis Bouchard 72301,3565 (X)
  1590.  
  1591. Checking for you, looks liketwo weeks or so.  You are still on our mailing
  1592. list.
  1593.  Stu Wiley Developer Service Team
  1594.  
  1595.  
  1596.  
  1597. There are 2 Replies.
  1598.  
  1599. #: 16802 S1/NonTech Cust. Serv.   
  1600.     05-Nov-92  21:43:44
  1601. Sb: #16399-Oct. rel. in Canada
  1602. Fm: Jonathan Carroll 74017,3242
  1603. To: Stu Wiley 70473,1351 (X)
  1604.  
  1605. I too am on the Canadian list or should be, for the Win NT Beta. My name is
  1606. Jonathan Carroll, Montreal Canada.  Could you check if I'm still listed? 
  1607. We've got a large Novell base (87 servers connected by fiber optic backbone)
  1608. and would like to make sure the stuff we've already written is still ok.
  1609.  
  1610. Jon.
  1611.  
  1612. #: 16853 S1/NonTech Cust. Serv.   
  1613.     06-Nov-92  15:45:18
  1614. Sb: #16399-Oct. rel. in Canada
  1615. Fm: Louis Bouchard 72301,3565
  1616. To: Stu Wiley 70473,1351 (X)
  1617.  
  1618. Thanks,
  1619.  
  1620.     I hope i will have less problem to install this new release than I had to
  1621. install the last one... anyway we will see in a few weeks.
  1622.  
  1623. Louis
  1624.  
  1625. #: 16870 S1/NonTech Cust. Serv.   
  1626.     06-Nov-92  18:00:59
  1627. Sb: Win32 SDK installation
  1628. Fm: Ron Simmons 76615,3452
  1629. To: SYSOP
  1630.  
  1631. I just installed NT on an 80386/40 system which uses and Adaptek 1542
  1632. controller to support a Segate 296N (80Mb drive) and a Syquest 555 (40 Mb
  1633. removable).  I used a Toshiba XM3301 to install the system from the October
  1634. 1992 release. Everything worked fine until I tried to install the SDK portion.
  1635. I had wanted to set it up on the Syquest device, but the installation will not
  1636. recognise the drive (the rest of NT works just fine with it). Any
  1637. suggestions?...
  1638.  
  1639. Thanks, Ron Simmons (76615,3452)
  1640.  
  1641.  
  1642.  
  1643.  
  1644. #: 16610 S3/SQL Server SDK   
  1645.     04-Nov-92  11:23:21
  1646. Sb: SQL server on NT:TCP/IP
  1647. Fm: Mike Snowden 100021,3015
  1648. To: James McDaniel [MS] 71075,415
  1649.  
  1650. We would like to be able to use the TCP/IP link from a SYBASE open client
  1651. interface directly into an NT SQL server; the cost of including the SQL
  1652. bridge means that we might as well go SYBASE all the way.
  1653.  
  1654. Any comments?
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660. #: 16298 S4/API-User Interface   
  1661.     01-Nov-92  11:49:48
  1662. Sb: FM extension
  1663. Fm: Mark Gamber 76450,2754
  1664. To:  76450,2754 (X)
  1665.  
  1666. I'm writing a File Manager extension that creates a small window used for
  1667. drag-drop to delete files. The menu hooks in, the window is created and when I
  1668. drag selected files over the window, I get the little "document" cursor. The
  1669. problem is, I never get a WM_DROPFILES message from the shell. I've tried the
  1670. CreateWindowEx using WS_ACCEPT_FILES and DragAcceptFiles() methods, both to no
  1671. avail. Any idea if something's wrong internally? I can upload source for
  1672. examination if you'd like.
  1673.    Mark
  1674.  
  1675.  
  1676. #: 16303 S4/API-User Interface   
  1677.     01-Nov-92  12:58:15
  1678. Sb: FM extension (pt 2)
  1679. Fm: Mark Gamber 76450,2754
  1680. To:  76450,2754 (X)
  1681.  
  1682. Update to previous Drag-Drop problem: When I run Spy and spy on the FM
  1683. extension's window, it gets the WM_DROPFILES message and everything works ok.
  1684. Exit Spy and it stops getting the message. I used Pview before during and
  1685. after and the extension and SHELL32 is loaded into Winfile's address space, so
  1686. everything seems to be there....just no working.
  1687.    Mark
  1688.  
  1689. #: 16332 S4/API-User Interface   
  1690.     02-Nov-92  09:44:38
  1691. Sb: Win32s programing in 3.1
  1692. Fm: Paul Ligeski 76636,1166
  1693. To: Sysop (X)
  1694.  
  1695. Hi,
  1696.  
  1697. <This is the best place I can find for this Win32s question> <I can't see
  1698. sections 13 or 14>
  1699.  
  1700.  
  1701. Is there a way to use the Win32s libraries under Windows 3.1?  Currently, I
  1702. cannot get 3.1 apps to run under Windows NT.
  1703.  
  1704.  
  1705. --Paul
  1706.  
  1707.  
  1708.  
  1709. There is 1 Reply.
  1710.  
  1711. #: 16395 S4/API-User Interface   
  1712.     02-Nov-92  15:59:11
  1713. Sb: #16332-Win32s programing in 3.1
  1714. Fm: Steve Firebaugh [MS] 75430,412
  1715. To: Paul Ligeski 76636,1166 (X)
  1716.  
  1717. Paul,  The software that you are using to access CIS may be preventing you
  1718. from seeing sections 13 & 14 since they were probably closed when you first
  1719. joined this forum.  Both of these sections ARE open at this point. Section 14
  1720. is the correct place to get Win32s help.  Look for messages 16209 or 16330. 
  1721. These were both posted in section 14.
  1722.  
  1723.  >Is there a way to use the Win32s libraries under Windows 3.1?
  1724.  
  1725. Yes, the October beta release provides the technology necessary for you to run
  1726. applications built for the Win32 API on Windows 3.1.  See page 11 of the
  1727. release notes for more information on win32s.  See the \mstools\win32s
  1728. directory on the compact disk for the relevant files.
  1729.  
  1730.  >Currently, I cannot get 3.1 apps to run under Windows NT.
  1731.  
  1732. This is a separate issue from Win32s.  If you just have the executable files
  1733. for the 3.1 applications, I'd recommend asking for help in section 4 of the
  1734. WINNT (end user issues) forum.  If you are talking about your own applications
  1735. that you have source code for, you are welcome to ask the questions here.  It
  1736. would help if you could be more specific.  Thanks,
  1737.  
  1738. Steve Firebaugh
  1739.  
  1740. #: 16396 S4/API-User Interface   
  1741.     02-Nov-92  15:59:16
  1742. Sb: #16190-DLGTEMPLATE
  1743. Fm: Steve Firebaugh [MS] 75430,412
  1744. To: Steve Firebaugh [MS] 75430,412 (X)
  1745.  
  1746. To: Anyone interested in the win32 dlgtemplate format.
  1747.  
  1748. I just uploaded a small sample to library 4 which shows how to dynamically
  1749. create a dialog from a dlgtemplate structure in memory.  The file is named
  1750. DYNDLG.ZIP, and includes the c file and a makefile.
  1751.  
  1752. Howard Myers was correct (perhaps this was no surprise to anyone).  Even
  1753. CreateDialogIndirectA() expected the strings in the dlgtemplate to be unicode
  1754. strings.
  1755.  
  1756. I hope that you find this sample useful.
  1757.  
  1758. Steve Firebaugh
  1759.  
  1760. #: 16600 S4/API-User Interface   
  1761.     04-Nov-92  10:52:41
  1762. Sb: UDP datagrams
  1763. Fm: John Dinga 75300,1745
  1764. To: sysop (X)
  1765.  
  1766. I asked this question of the WINNT forum and they sent me here. I would like
  1767. write a program under NT that sends and receives UDP datagrams.  Does anyone
  1768. have any example code.  Is this covered in any of the manuals I received with
  1769. my NT beta kit.
  1770.  
  1771. Thanks, Max.
  1772.  
  1773. There is 1 Reply.
  1774.  
  1775. #: 16621 S4/API-User Interface   
  1776.     04-Nov-92  13:18:46
  1777. Sb: #16600-UDP datagrams
  1778. Fm: David Taniguchi [MS] 72350,2054
  1779. To: John Dinga 75300,1745 (X)
  1780.  
  1781. Hi John,
  1782.   >I would like write a program under NT that sends and receives UDP
  1783.   >datagrams.  Does anyone have any example code.  Is this covered in any
  1784.   >of the manuals I received with my NT beta kit.
  1785.  
  1786.   You can use the Windows Sockets DLL to send datagrams.  This provides
  1787.   API is based on Berkeley sockets.  Here is a small example:
  1788.   {
  1789.     PPROTOENT pprotoent;
  1790.     SOCKET s;
  1791.     int cc;
  1792.  
  1793.     pprotoent = getprotobyname("UDP");
  1794.     s = socket( AF_INET, SOCK_DGRAM, pprotoent->p_proto);
  1795.     cc = sendto( s, buf..)
  1796.    }
  1797.   In the Windows Sockets implementation they provide Windows Specific Api
  1798.   (WSA prefixed) functions which anables the Windows programmer to receive
  1799.   notice of socket events via the message queue.
  1800.  
  1801.   If you have any follow up questions, please post in section 12 of Forum
  1802.   MSWIN32 (RPC/WinNet).
  1803.  
  1804.   Thanks,
  1805.   Dave
  1806.  
  1807. #: 16397 S4/API-User Interface   
  1808.     02-Nov-92  15:59:22
  1809. Sb: Resource formats
  1810. Fm: Steve Firebaugh [MS] 75430,412
  1811. To: All
  1812.  
  1813. There have been several inquiries in this section about dialog templates and
  1814. menu templates in Win32.  The binary formats have been widened, and are no
  1815. longer the same as they were in Windows 3.1.
  1816.  
  1817. I have just uploaded a file which documents the win32 resource formats. The
  1818. file is RESFMT.ZIP, in library 4.  It includes a WinWord DOC file as well as a
  1819. plain text TXT file.  Notice that these formats are not documented anywhere on
  1820. the distributed compact disk.  This is currently the only place that you can
  1821. get them.  (My understanding is that the printed and online references will be
  1822. updated by the next release to include the information which we are now
  1823. distributing here.)
  1824.  
  1825. If anyone has any problems with this file, please let me know.  Thanks,
  1826.  
  1827. Steve Firebaugh
  1828.  
  1829.  
  1830.  
  1831. There is 1 Reply.
  1832.  
  1833. #: 16655 S4/API-User Interface   
  1834.     04-Nov-92  16:11:05
  1835. Sb: #16397-Resource formats
  1836. Fm: Samuel Feldman 70403,432
  1837. To: Steve Firebaugh [MS] 75430,412 (X)
  1838.  
  1839. Steve,
  1840.  
  1841. Thank you for uploading RESFMT.ZIP.  Here is some feedback on its contents.
  1842.  
  1843. Section 2.1.1.5
  1844.         PUSHBOX is obsolete
  1845.  
  1846. Section 2.1.2  EXSTYLE
  1847.         The form EXSTYLE=<flags> appearing on the DIALOG statement
  1848.         is not supported (apparently).  I'm not sure it made sense anyway.
  1849.  
  1850. Section 2.1.6  MESSAGETABLE
  1851.         What is the format of the message file?  Is this really a supported
  1852.         statement?
  1853.  
  1854. Section 3.5  Additional Header Information
  1855.         Although the data presented here is all correct, the section refers
  1856.         to "additional information" and "the ResAdditional structure."
  1857.         These references should be removed for clarity, since there is a
  1858.         single structure documented.
  1859.  
  1860. Section 3.5.2  Memory Flags
  1861.         The resource compiler does not ignore the specified settings.  Of
  1862.         course they are ignored in the .EXE file (right?).
  1863.  
  1864. Section 4.2  Icon Resources
  1865.         There is no "padding" field in either the IconHeader or
  1866.         ResourceDirectory structures.
  1867.  
  1868. Section 4.3  Menu Resources
  1869.         The text should mention that menu items are not dword-aligned.
  1870.  
  1871. Section 4.4  Dialog Box Resources
  1872.         PUSHBOX is obsolete
  1873.  
  1874. Section 4.5  Cursor Resources
  1875.         There is no "padding" field in the CursorHeader structure.
  1876.         ResourceDirectory structures do NOT "starts on a DWORD
  1877.         boundary."
  1878.  
  1879. Section 4.12  Version Resources
  1880.         The structure definitions for all sub-blocks are missing the wLength
  1881.         and wValueLength fields: StringFileInfo, StringTable, String,
  1882.         VarFileInfo, and Var.
  1883.         The szKey[] field in the StringTable structure has a comment that it
  1884.         is 8 bytes.  Actually it is 8 characters (16 bytes).
  1885.  
  1886. Section 4.13  Messagetable Resources
  1887.         The format of these does not match what RC currently does -- which
  1888.         is to copy the content of the message file byte for byte into the
  1889.  
  1890.   [OzCIS: Continued in next msg]
  1891.  
  1892. There is 1 Reply.
  1893.  
  1894. #: 16656 S4/API-User Interface   
  1895.     04-Nov-92  16:11:10
  1896. Sb: #16655-Resource formats
  1897. Fm: Samuel Feldman 70403,432
  1898. To: Samuel Feldman 70403,432 (X)
  1899.  
  1900.  
  1901.   [OzCIS: Continued from previous msg]
  1902.  
  1903.         .RES file.  Is this supported currently?  If it will be supported,
  1904.         the fields in the structures need to be documented, especially those
  1905.         that are not obvious (OffsetToEntries, Flags, whether Text[] is
  1906.         null-terminated).
  1907.  
  1908. That's it for now!
  1909.  
  1910.  -- Samuel
  1911.  
  1912. #: 16462 S4/API-User Interface   
  1913.     03-Nov-92  09:39:49
  1914. Sb: Graying EDIT control
  1915. Fm: David Manns 100112,2773
  1916. To: ALL
  1917.  
  1918. Having set the initial value of an edit control in the WM_INITDIALOG message
  1919. handling, how do I get it drawn grayed out when the dialog is first drawn?
  1920. Setting the edit control to disabled in the dialog editor does not appear to
  1921. do this.
  1922.  
  1923.   
  1924.  
  1925. There is 1 Reply.
  1926.  
  1927. #: 16674 S4/API-User Interface   
  1928.     04-Nov-92  19:16:01
  1929. Sb: #16462-Graying EDIT control
  1930. Fm: Steve Firebaugh [MS] 75430,412
  1931. To: David Manns 100112,2773
  1932.  
  1933. David Manns,  I have just recreated the problem which you describe. For now, a
  1934. reasonable work around is to call EnableWindow, FALSE with each edit control
  1935. that you want disabled.  I have observed that such edit controls are painted
  1936. gray, as we would expect.  Apparently the text color is set for the HDC only
  1937. when the edit control receives a WM_ENABLE message (which is a result of
  1938. calling EnableWindow, FALSE). The edit control does NOT set the text color at
  1939. create time, based on the WS_DISABLED bit, as it should.  This is a bug, I've
  1940. reported it, and we will try to get it fixed by the next release.  Thanks.
  1941.  
  1942. Steve Firebaugh
  1943.  
  1944. #: 16461 S4/API-User Interface   
  1945.     03-Nov-92  09:39:45
  1946. Sb: rc fails on DLGINCLUDE
  1947. Fm: David Manns 100112,2773
  1948. To: ALL
  1949.  
  1950. The dialog editor inserts the line:
  1951.     1 DLGINCLUDE "id.h"
  1952.  
  1953. in the .DLG file, which causes the resource compiler to fail. Changing the
  1954. line to be:
  1955.     #include "id.h"
  1956.  
  1957. allows RC to work okay. Is this a known problem, or am I doing something
  1958. wrong?
  1959.   
  1960.  
  1961. There is 1 Reply.
  1962.  
  1963. #: 16676 S4/API-User Interface   
  1964.     04-Nov-92  19:34:09
  1965. Sb: #16461-rc fails on DLGINCLUDE
  1966. Fm: Steve Firebaugh [MS] 75430,412
  1967. To: David Manns 100112,2773
  1968.  
  1969. David Manns,  I find that I am able to DLGEDIT a res file, allow the DLGEDIT
  1970. program to write "1 dlginclude file.h" in the .dlg file, and then successfully
  1971. resource compile the .rc file.  However, I will not doubt that you are able to
  1972. get it to break.  The semantics of DLGINCLUDE have changed somewhat in Win32. 
  1973. I am including a "Knowledge Base article" which describes this change.  If you
  1974. feel that this covers the problem you are seeing, please consider the issue
  1975. reported. If you think that you are seeing a different problem, please respond
  1976. again with more information which will allow me to reproduce it here. Thanks,
  1977.  
  1978. Steve Firebaugh
  1979.  
  1980.  INF: Use of DLGINCLUDE in Resource Files
  1981.  ID: Q91697     CREATED:  2-NOV-1992   MODIFIED:  2-NOV-1992
  1982.  3.10    WINDOWS
  1983.  
  1984.  
  1985. Summary:
  1986.  
  1987. The Windows 3.1 SDK Dialog Editor needs a way to know what include file is
  1988. associated with a resource file that it opens. Rather than prompt the user for
  1989. the same of the include file, the name of the include file is embedded in the
  1990. resource file in most cases.
  1991.  
  1992. Embedding the name of the include file is done with a resource of type RCDATA
  1993. with the special name DLGINCLUDE. This resource is placed into the .res file
  1994. and contains the name of the include file. The dialog editor looks for this
  1995. resource when it loads a .res file. If it is found, then the include file is
  1996. opened also. If not, the editor prompts the user for the name of the include
  1997. file.
  1998.  
  1999. In some Windows 3.1 build environments, the dialog editor was used to create
  2000. dialogs which were placed in more than one .dlg file. These different .dlg
  2001. files were then included in one .rc file that was compiled with the resource
  2002. compiler. So the resource file gets multiple copies of a RCDATA type resource
  2003. with the same name, DLGINCLUDE, but the resouce compiler and dialog editor do
  2004. not complain.
  2005.  
  2006. In the Win32 Preliminary SDK, changes were made so that this resource has its
  2007. own resource type. It was changed from an RCDATA type resource with the
  2008. special name, DLGINCLUDE, to a DLGINCLUDE resource type whose
  2009.  
  2010. [More]
  2011.  
  2012. There is 1 Reply.
  2013.  
  2014. #: 16677 S4/API-User Interface   
  2015.     04-Nov-92  19:34:15
  2016. Sb: #16676-rc fails on DLGINCLUDE
  2017. Fm: Steve Firebaugh [MS] 75430,412
  2018. To: Steve Firebaugh [MS] 75430,412 (X)
  2019.  
  2020. [Continued]
  2021.  
  2022. name can be specified. The dialog editor would look for resources of the type
  2023. DLGINCLUDE.
  2024.  
  2025. For the October beta, there was a change made to CvtRes so that it gives an
  2026. error if it finds a resource that has the same type, name, and language as
  2027. another resource in the file. We are being stricter about the resources
  2028. needing to be unique in the Win32 SDK than the Windows 3.1 SDK. This is good,
  2029. because there was never any guarantee at run time which of the two or more
  2030. resources would be returned by LoadResource().
  2031.  
  2032. This means that some apps being ported to Windows NT will give an error when
  2033. their resources are compiled, because they will have duplicate RCDATA type
  2034. resources with the same name (DLGINCLUDE). This error is by design. The
  2035. work-around is straightforward: delete all the DLGINCLUDE RCDATA type resource
  2036. statements from all the .dlg files.
  2037.  
  2038. Finally, because it does not make much sense to have the DLGINCLUDE type
  2039. resources in the executable at all, CvtRes will strip them out so that they do
  2040. not get linked into the exe.
  2041.  
  2042. #: 16270 S4/API-User Interface   
  2043.     31-Oct-92  08:41:40
  2044. Sb: Comm Defaults
  2045. Fm: Kent Stewart 75146,224
  2046. To: All
  2047.  
  2048. I was caught off guard by the comm side of NT. I'm so used to smart modems and
  2049. comm programms that I missed the lack of baud rates > 19200. What is worse is
  2050. the choice provide be NT when a high rate is requested. I could understand
  2051. setting the connection rate to 19200 in these cases but setting the rate to
  2052. 300 baud left me shaking my head in disgust. I was using Forsberg's zcomm,
  2053. with the rate set to 38400 and using a ns16550afn, and I kept getting
  2054. connections at 300 baud. I though I had a modem/port problem until I set the
  2055. rate to 19200 and I was able to connect to CIS, Genie, and Bix at my normal
  2056. rates of 2400 to 9600.
  2057.  
  2058. You really should consider what the default rate is if you don't support the
  2059. one requested. Since, you are buffering the connection, setting the rate to
  2060. the very slowest is very expensive since most services (including the phone
  2061. company) base charges on connection time more than the speed of the
  2062. connection.
  2063.  
  2064. Kent
  2065.  
  2066. There are 2 Replies.
  2067.  
  2068. #: 16309 S4/API-User Interface   
  2069.     01-Nov-92  14:54:22
  2070. Sb: #16270-Comm Defaults
  2071. Fm: neil colvin 71650,3517
  2072. To: Kent Stewart 75146,224 (X)
  2073.  
  2074. I have been running NT comm at 38400 since the July release with no problem.
  2075. This sounds like a program problem, not a NT problem.
  2076.  
  2077. There is 1 Reply.
  2078.  
  2079. #: 16317 S4/API-User Interface   
  2080.     01-Nov-92  18:00:20
  2081. Sb: #16309-Comm Defaults
  2082. Fm: Kent Stewart 75146,224
  2083. To: neil colvin 71650,3517 (X)
  2084.  
  2085. It was a dos program running under NT. It thought it was running at 38400. I
  2086. have identical responses with Cim 2.0x and Zcomm, which makes it appear to be
  2087. a dos/nt interaction.
  2088.  
  2089. Kent
  2090.  
  2091. #: 16429 S4/API-User Interface   
  2092.     02-Nov-92  19:45:59
  2093. Sb: #16270-Comm Defaults
  2094. Fm: Jerry Drain [Microsoft] 72350,2056
  2095. To: Kent Stewart 75146,224 (X)
  2096.  
  2097. Hi Kent,
  2098.  
  2099. Sorry, this is a little outside my normal realm.  This really isn't a
  2100. programming issue, but a configuration issue for the DOS/WOW layer.  Let me
  2101. ask you to re-ask this question in WinNT, Section 4 "DOS/Win3.x Apps" support.
  2102. I thought the default setting was 1200.  If it's been set to 300 under
  2103. DOS/WOW, then it might be a "Lowest Common Denominator" issue. However, like I
  2104. said, this is a question that they would be more familiar with.
  2105.  
  2106. Thanks,
  2107.   -- Jerry [@Microsoft]
  2108.  
  2109.  
  2110.  
  2111. There is 1 Reply.
  2112.  
  2113. #: 16682 S4/API-User Interface   
  2114.     04-Nov-92  20:27:09
  2115. Sb: #16429-Comm Defaults
  2116. Fm: Kent Stewart 75146,224
  2117. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2118.  
  2119. I'll move over to that area, Jerry.  I couldn't imagine 300 baud for the
  2120. default but file downloads of 28cps don't lie.
  2121.  
  2122. Kent
  2123.  
  2124. #: 16495 S4/API-User Interface   
  2125.     03-Nov-92  14:53:09
  2126. Sb: DDEML connect prob
  2127. Fm: David Armitage 76702,1002
  2128. To: all
  2129.  
  2130.  
  2131. I am working on a DDEML server app that I ported from Win 3.1 and I get an
  2132. Access Violation from NTSD. The server app runs without problems in 3.1 and if
  2133. I run it as a 3.1 app in NT I have no problem. But if my 32 bit client app
  2134. tries to connect to the 32 bit server app I get the error.
  2135.  
  2136. When stepping through the assembly code in WinDbg the error occurs after I
  2137. have received my XTYP_CONNECT and *BEFORE* I receive my XTYP_CONNECT_CONFIRM.
  2138. In other words outside of my callback code.
  2139.  
  2140. Here is what NTSD says:
  2141.   Access Violation
  2142.   USER32! __ClientDDEMLInitiateServer + 0x151:
  2143.  
  2144. Is there something that I am not doing that I should be doing for NT? If you
  2145. have any ideas on why DdeConnect() would give me this, I would love to here
  2146. them.
  2147.  
  2148. Thanks
  2149.  
  2150. Stephen 76701,1002
  2151.  
  2152.  
  2153.  
  2154. There is 1 Reply.
  2155.  
  2156. #: 16688 S4/API-User Interface   
  2157.     04-Nov-92  21:41:06
  2158. Sb: #16495-DDEML connect prob
  2159. Fm: Jerry Drain [Microsoft] 72350,2056
  2160. To: David Armitage 76702,1002 (X)
  2161.  
  2162. Hi David,
  2163.  
  2164. I went through our knowledge databases, and didn't see anything that seem
  2165. related to this.  My first suggestion is to look at the DDEML samples provided
  2166. on the SDK.  There are several installed under
  2167. ..\mstools\samples\ddeml\... See if the client and the server applications can
  2168. give you any suggestions.
  2169.  
  2170. If you don't get anywhere with that, let me know.  We'll talk about stripping
  2171. your code down into some very small examples which I can look at and test for
  2172. a possible system bug.
  2173.  
  2174. Thanks,
  2175.   -- Jerry [Win32 SDK Developer Support]
  2176.  
  2177.  
  2178.  
  2179. There is 1 Reply.
  2180.  
  2181. #: 16713 S4/API-User Interface   
  2182.     05-Nov-92  07:52:06
  2183. Sb: #16688-DDEML connect prob
  2184. Fm: David Armitage 76702,1002
  2185. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2186.  
  2187. Jerry,
  2188.  
  2189. Thanks for getting back to me. I did check the sample apps and found nothing
  2190. at first and they all ran fine. I'm going to go through them again and see
  2191. what I can find. Its weird because my apps ran fine on Win 3.1 and also they
  2192. run fine on Win32s. It is just both 32 bit server and client running on NT.
  2193.  
  2194. Thanks Stephen
  2195.  
  2196. #: 16573 S4/API-User Interface   
  2197.     04-Nov-92  07:00:13
  2198. Sb: Printf Outputs?
  2199. Fm: richard c. allen 71621,2420
  2200. To: all
  2201.  
  2202. I am starting to play with DLL's under NT, I have a simple question. My first
  2203. dll is a simple console dll which used printf()'s to tell me what was
  2204. happening. (The order coming out was not sync, but okay). I then called the
  2205. DLL from a generic NT WIndows Application. WHERE did the PRINTF's go? I didn't
  2206. remove them from the DLL, did the system ignore them? Is there a Stdout/Stdin
  2207. for Win32? Curious... Richard C. Allen
  2208.  
  2209. There is 1 Reply.
  2210.  
  2211. #: 16680 S4/API-User Interface   
  2212.     04-Nov-92  20:12:16
  2213. Sb: #16573-Printf Outputs?
  2214. Fm: Jerry Drain [Microsoft] 72350,2056
  2215. To: richard c. allen 71621,2420 (X)
  2216.  
  2217. Hi Richard,
  2218.  
  2219.  >>I am starting to play with DLL's under NT, I have a simple question. My
  2220. first
  2221.   dll is a simple console dll which used printf()'s to tell me what was
  2222.   happening. (The order coming out was not sync, but okay). I then called the
  2223.   DLL from a generic NT WIndows Application. WHERE did the PRINTF's go? I
  2224. didn't
  2225.   remove them from the DLL, did the system ignore them? Is there a
  2226. Stdout/Stdin
  2227.   for Win32? Curious...
  2228.  
  2229. I guess I'm a little confused by what you're doing, and what you're seeing.
  2230. Does your DLL allocate a console???  To answer your question: yes, Win32 apps
  2231. have a Stdout and a Stdin.  By default though, they don't point to anything. 
  2232. You can do things like redirect Stdin/Stdout to a file from the command line,
  2233. and then call your window app.  This should pipe the printfs to the file.  You
  2234. can also allocate a console using AllocConsole from your window app, and get
  2235. the printfs that way.  To learn more, you might start browsing the
  2236. GetStdHandle() and SetStdHandle() API and go from there (these calls allow you
  2237. to get and set the handles).
  2238.  
  2239. Thanks,
  2240.   -- Jerry [Win32 SDK Developer Support]
  2241.  
  2242.  
  2243.  
  2244. There is 1 Reply.
  2245.  
  2246. #: 16708 S4/API-User Interface   
  2247.     05-Nov-92  05:51:39
  2248. Sb: #16680-Printf Outputs?
  2249. Fm: richard c. allen 71621,2420
  2250. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2251.  
  2252. Thanks, I will look into it. My simple DLL just used some Printf's in the
  2253. entry function and I had the SIMPLE app call to the DLL. I saw the outputs
  2254. from the DLL appear on the console where I started SIMPLE. I then used GENERIC
  2255. to call my DLL and did not see any outputs from the DLL's Printf's. I did not
  2256. use any command line nor AllocConsole. Its a new world.... Richard C. Allen
  2257.  
  2258. There is 1 Reply.
  2259.  
  2260. #: 16738 S4/API-User Interface   
  2261.     05-Nov-92  12:47:57
  2262. Sb: #16708-Printf Outputs?
  2263. Fm: Jerry Drain [Microsoft] 72350,2056
  2264. To: richard c. allen 71621,2420 (X)
  2265.  
  2266. Hi Richard,
  2267.  
  2268. It is: a new concept.  It took me a little getting use to too.  Have a look at
  2269. the console stuff.  If you have any questions regarding the console API or
  2270. concepts, please post questions in the BASE section (Section 6).
  2271.  
  2272. Thanks,
  2273.   -- Jerry [Win32 SDK Developer Support]
  2274.  
  2275. #: 16498 S4/API-User Interface   
  2276.     03-Nov-92  15:06:30
  2277. Sb: AllocConsole question
  2278. Fm: Alan feuer 75500,3610
  2279. To: David Armitage 76702,1002 (X)
  2280.  
  2281. How can a console be created with an initial state? The routines to modify a
  2282. console require a handle to the console, but the only way to get a handle to a
  2283. console is to create one.  Unfortunately, AllocConsole causes the console to
  2284. appear.
  2285.  
  2286. Is there a way to create a console without causing it to appear?
  2287.  
  2288. alan feuer
  2289.  
  2290. There is 1 Reply.
  2291.  
  2292. #: 16681 S4/API-User Interface   
  2293.     04-Nov-92  20:12:23
  2294. Sb: #16498-AllocConsole question
  2295. Fm: Jerry Drain [Microsoft] 72350,2056
  2296. To: Alan feuer 75500,3610 (X)
  2297.  
  2298. Hi Alan,
  2299.  
  2300.  >>How can a console be created with an initial state? The routines to modify
  2301. a
  2302.   console require a handle to the console, but the only way to get a handle to
  2303. a
  2304.   console is to create one.  Unfortunately, AllocConsole causes the console to
  2305.   appear.
  2306.  
  2307.   Is there a way to create a console without causing it to appear?
  2308.  
  2309. I don't believe there is a way to do this.  I'll have a look in the source
  2310. code to see how AllocConsole is working, and perhaps I discover some sort of
  2311. work around.  Before I do however, can you please tell me exactly what it is
  2312. you're trying to do.  Perhaps I can provide you with another work around, or
  2313. it will help me to identify one.
  2314.  
  2315. Thanks,
  2316.   -- Jerry [Win32 SDK Developer Support]
  2317.  
  2318.  
  2319.  
  2320. There are 2 Replies.
  2321.  
  2322. #: 16699 S4/API-User Interface   
  2323.     04-Nov-92  23:54:01
  2324. Sb: #16681-AllocConsole question
  2325. Fm: Marc Singer 72130,2546
  2326. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2327.  
  2328. Have you the ability to create the console 'off screen' so that it can be
  2329. configured before being moved to an on screen location?
  2330.  
  2331.  
  2332.  
  2333.  
  2334. There is 1 Reply.
  2335.  
  2336. #: 16739 S4/API-User Interface   
  2337.     05-Nov-92  12:48:02
  2338. Sb: #16699-AllocConsole question
  2339. Fm: Jerry Drain [Microsoft] 72350,2056
  2340. To: Marc Singer 72130,2546 (X)
  2341.  
  2342. Hi Marc,
  2343.  
  2344.  >>Have you the ability to create the console 'off screen' so that it can be
  2345.    configured before being moved to an on screen location?
  2346.  
  2347. Not that I know of.  I may find out more once I've had a chance to see how the
  2348. AllocConsole API is emplemented in the source code.
  2349.  
  2350. Thanks,
  2351.   -- Jerry [Win32 SDK Developer Support]
  2352.  
  2353. #: 16710 S4/API-User Interface   
  2354.     05-Nov-92  07:03:16
  2355. Sb: #16681-AllocConsole question
  2356. Fm: Alan feuer 75500,3610
  2357. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2358.  
  2359. I'm simply trying to do something similar to ProgMan. I would like to create a
  2360. console from a GUI app, but have the console begin with certain attributes.
  2361.  
  2362. Alan Feuer
  2363.  
  2364. #: 16554 S4/API-User Interface   
  2365.     03-Nov-92  21:38:03
  2366. Sb: Win16 on NT
  2367. Fm: Jerry Drain [Microsoft] 72350,2056
  2368. To: David Risack 75300,3712 (X)
  2369.  
  2370. Hi David,
  2371.  
  2372.  >>I'm trying to figure out how to debug a win-16 app under NT.  Currently the
  2373.   App crashes on exit from it and on certain other occasions. How can I
  2374.   currently debug I win-16 app. Even something that would tell me the last API
  2375.   call made would give me a hint.
  2376.  
  2377. Options are pretty limited, as we haven't had time to work on this yet.  I
  2378. understand we have some things in the works, but their aren't any details yet
  2379. available.  I know that CodeView will not work.  I've heard that QCWin will
  2380. work as a debugger now, but I haven't had a chance to do this yet myself, so I
  2381. can't answer anything about its robustness yet.  If you have it available to
  2382. you, please try it.
  2383.  
  2384.  >>Is there anyway to figure out what's going on? (without a way to debug
  2385. under
  2386.   NT it's hard to be more specific other than the app crashes-- we'll probably
  2387.   have to start throwing message boxes or doing file output to try and figure
  2388.   where if there is no current way to do this.)
  2389.  
  2390. You say this works under Windows 3.1, but not with Windows NT under the WOW
  2391. layer.  Are you touching hardware directly with this app?  Is it doing
  2392. anything tricky with memory?
  2393.  It's very hard to suggest anything without having the problem narrowed down
  2394. some.
  2395.  
  2396. Thanks,
  2397.   -- Jerry [Win32 SDK Developer Support]
  2398.  
  2399.  
  2400.  
  2401. There are 2 Replies.
  2402.  
  2403. #: 16567 S4/API-User Interface   
  2404.     04-Nov-92  04:31:33
  2405. Sb: #16554-Win16 on NT
  2406. Fm: David Risack 75300,3712
  2407. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2408.  
  2409. Nope we aren't accessing any of the hardware directly. I'm not exactly sure
  2410. what you mean by doing anything tricky with memory, but I don't think so. I
  2411. don't believe I have access to QCWin. So currently I have no debugger to debug
  2412. my win-16 apps under NT. (Which I shouldn't have to do anyway because it
  2413. should work :) There must be someproblems with the WOW layer.
  2414.  
  2415. -->Dave
  2416.  
  2417. There is 1 Reply.
  2418.  
  2419. #: 16689 S4/API-User Interface   
  2420.     04-Nov-92  21:41:11
  2421. Sb: #16567-Win16 on NT
  2422. Fm: Jerry Drain [Microsoft] 72350,2056
  2423. To: David Risack 75300,3712 (X)
  2424.  
  2425. Hi Dave,
  2426.  
  2427.  
  2428.  >>(Which I shouldn't have to do anyway because it
  2429.   should work :) There must be someproblems with the WOW layer.
  2430.  
  2431. Well, it's pretty early to make that call yet; although I'm sure that the WOW
  2432. layer isn't 100% yet.  How big is this code, what's it doing?  Are you getting
  2433. anywhere at all with it?  Is it something you can narrow down to a page or two
  2434. and demonstrate the crash?  If you can narrow this down to something small and
  2435. concrete that I can take to the developers, I'd like to have a look at it.
  2436.  
  2437. Thanks,
  2438.   -- Jerry [Win32 SDK Developer Support]
  2439.  
  2440.  
  2441.  
  2442. There is 1 Reply.
  2443.  
  2444. #: 16704 S4/API-User Interface   
  2445.     05-Nov-92  05:12:49
  2446. Sb: #16689-Win16 on NT
  2447. Fm: David Risack 75300,3712
  2448. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2449.  
  2450. Unfortunately we haven't tracked down the crash under NT yet (we don't have a
  2451. debugger to help us so it's tougher to find.) Since the app runs fine under
  2452. Windows 3.0 and 3.1 and the debug versions of either I'd have to presume it's
  2453. a bug in the WOW layer. (Because if it fully emulated it properly it would run
  2454. right? :)
  2455.  
  2456. I believe MS has a copy of our application on file that they can test with
  2457. windows NT.
  2458.  
  2459. -->Dave
  2460.  
  2461. There is 1 Reply.
  2462.  
  2463. #: 16742 S4/API-User Interface   
  2464.     05-Nov-92  13:02:40
  2465. Sb: #16704-Win16 on NT
  2466. Fm: Jerry Drain [Microsoft] 72350,2056
  2467. To: David Risack 75300,3712 (X)
  2468.  
  2469. Hi David,
  2470.  
  2471. Sorry, can you tell me who here might have a copy of the application?  Were
  2472. you in the porting lab at one time, or have you worked with someone
  2473. specifically with this application in the past.
  2474.  
  2475. Thanks,
  2476.   -- Jerry [Win32 SDK Developer Support]
  2477.  
  2478. #: 16683 S4/API-User Interface   
  2479.     04-Nov-92  20:54:10
  2480. Sb: #16554-Win16 on NT
  2481. Fm: Sheldon Fox 70162,3422
  2482. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2483.  
  2484. Jerry,
  2485.  
  2486. PMJI,  I have tried QCWin under NT and while it comes up OK and loads my
  2487. project (which works fine in Win 3.1 on the same machine), once I press F5
  2488. ("GO") the whole QCWin sessions hangs.  F8 (to step into the first line of the
  2489. program and then stop does the same thing.)  Trying to kill it ends up with
  2490. errors saying WOW can't get it to stop.  If you can remember who told you that
  2491. QCWin worked, maybe you can ask them if they have any secret incantations that
  2492. are usuful in getting it to work <g>.
  2493.  
  2494. Sheldon
  2495.  
  2496. #: 16748 S4/API-User Interface   
  2497.     05-Nov-92  14:15:22
  2498. Sb: UnpackDDElParam poor
  2499. Fm: Bruce Cowan 73650,32
  2500. To: all
  2501.  
  2502. I think UnpackDDElParam is a little bit broken: It will crash with an access
  2503. violation if called to unpack the lParam received in a WM_DDE_ACK message which
  2504. is an answer to a WM_DDE_INITIATE. Now, I can obviously write my code to check
  2505. whether I am currently sending a WM_DDE_INITIATE and not call UnpackDDElParam
  2506. in this case, and I agree that UnpackDDElParam is only supposed to be called to
  2507. process a posted DDE message, not a sent one, but, this makes the winproc ugly:
  2508.  
  2509.   ...
  2510.   if (!InSendMessage())
  2511.      UnpackDDElParam(...)
  2512.   else
  2513.      unpack it the old way
  2514.   ...
  2515.  
  2516. Why can't this code be put into UnpackDDElParam itself?
  2517.  
  2518. (Previously I reported what I thought were more problems with UnpackDDElParam,
  2519. in the wrong forum section, but I've now found that they were all fixed in the
  2520. October release. I at first thought they weren't, but that was because I had
  2521. some screwy code in my routine to get around problems in the July release.)
  2522.  
  2523. Bruce
  2524.  
  2525. #: 16684 S4/API-User Interface   
  2526.     04-Nov-92  21:33:00
  2527. Sb: MMSYSTEM.DLL
  2528. Fm: John M. Brown 76437,2222
  2529. To: all
  2530.  
  2531. I am trying to use the MMSYSTEM.DLL for Multi-Media stuff under Oct-MIPS.  I
  2532. get and error saying the file is an incompatible file format type...
  2533.  
  2534. Is this file corrupted??
  2535.  
  2536. jmbrown DiagSoft, Inc.
  2537.  
  2538.  
  2539.  
  2540.  
  2541. There are 2 Replies.
  2542.  
  2543. #: 16737 S4/API-User Interface   
  2544.     05-Nov-92  12:47:54
  2545. Sb: #16684-MMSYSTEM.DLL
  2546. Fm: Jerry Drain [Microsoft] 72350,2056
  2547. To: John M. Brown 76437,2222 (X)
  2548.  
  2549. Hi John,
  2550.  
  2551. First think, make sure you're using the correct MMSYSTEM.DLL file (that it's
  2552. not the one for your Win 3.1 machine or something.  The file I have listed on
  2553. the MIPs machine is dated 10/10/92, and has a file size of 14848 bytes.
  2554.  
  2555. If it's the correct file, please repost this question in the GDI section
  2556. (Section 5).  We have some expertise on both MM and MIPs in that section right
  2557. now.
  2558.  
  2559. Thanks,
  2560.   -- Jerry [Win32 SDK Developer Support]
  2561.  
  2562. #: 16773 S4/API-User Interface   
  2563.     05-Nov-92  17:06:39
  2564. Sb: #16684-MMSYSTEM.DLL
  2565. Fm: Jerry Drain [Microsoft] 72350,2056
  2566. To: John M. Brown 76437,2222 (X)
  2567.  
  2568. Hi John,
  2569.  
  2570. In an earlier message to you, I wrote:
  2571.  
  2572.  >> First think, make sure you're using the correct MMSYSTEM.DLL file .....
  2573.  
  2574. A colleague of mine, who knows me to generally not to be so abrupt, pointed
  2575. this out and wondered if I had made a typing error.  I'm sorry, this was a
  2576. typing error, I meant to type:
  2577.  
  2578.  >> First thing, make sure you're using .....
  2579.  
  2580. Sorry if I sounded short to you, it was not intended.  (Thanks for the catch
  2581. Paul).
  2582.  
  2583. Thanks,
  2584.   -- Jerry [Win32 SDK Developer Support]
  2585.  
  2586. #: 16808 S4/API-User Interface   
  2587.     06-Nov-92  04:39:47
  2588. Sb: MFC Comm Dlgs
  2589. Fm: Trip Tucker 76054,2250
  2590. To: Sysop (X)
  2591.  
  2592. It seems that there are still some problems with the Print Common Dialog and
  2593. MFC in the new release.  While this worked with the previous release, the
  2594. dialog does not initialize with the correct page numbers from the structure
  2595. and then does not return with the page numbers that were set.
  2596.  
  2597. The Font Dialog worked with the last release, but now tells you that there are
  2598. no fonts installed for the printer.  This is the same code that works for
  2599. WIN16 and worked with the July release.
  2600.  
  2601. Have you seen this?  Trip.  
  2602.  
  2603. #: 16448 S4/API-User Interface   
  2604.     03-Nov-92  06:07:48
  2605. Sb: GetNextWindow()
  2606. Fm: Howard Myers 76711,462
  2607. To: Microsoft
  2608.  
  2609. I have been unable to get GetNextWindow() to work at all.  I try both of the
  2610. following:
  2611.         PrevHwnd = GetNextWindow( hwnd, GW_HWNDPREV );
  2612.         NextHwnd = GetNextWindow( hwnd, GW_HWNDNEXT ); where hwnd is my main
  2613. window handle.  There are other active windows.  While one of these may
  2614. legitamately return NULL, at least one of them should return a valid handle,
  2615. shouldn't it?  (This code works under 3.x)
  2616.  
  2617. The only sample program that uses this call is the OLE Client demo.  I tried
  2618. running it under debug to see if it could successfully use this call. 
  2619. However, it will only call GetNextWindow() if it first gets something returned
  2620. from GetTopWindow().  This call was always returning NULL.  That may be
  2621. correct, since the sample is passing in a handle, thus, it should only get
  2622. handles for child windows.
  2623.  
  2624. Additionally, if you call FindWindow() using your own class and NULL for the
  2625. Window string, are you guaranteed that it will return a window handle other
  2626. than yourself?  I.e., can this function really be used to determine if there
  2627. are other instances of yourself running, as suggested in some of the porting
  2628. docs I have?  By reading the description of the function, it seems like your
  2629. own handle might get returned.  Since there is no way to tell it to then give
  2630. you the next occurrence, you'd be stuck, not knowing if there are others or
  2631. not.  (Might this only work for truely previous instances? It goes down the
  2632. list in order, so if it started before you, you'll get the other handle, if it
  2633. started after you, you'll get your own?)
  2634.  
  2635. Thanks!
  2636.  
  2637. There is 1 Reply.
  2638.  
  2639. #: 16736 S4/API-User Interface   
  2640.     05-Nov-92  12:47:48
  2641. Sb: #16448-GetNextWindow()
  2642. Fm: Jerry Drain [Microsoft] 72350,2056
  2643. To: Howard Myers 76711,462 (X)
  2644.  
  2645. Hi Howard,
  2646.  
  2647. I've been working with a sample that uses the GetNextWindow().  I'm not
  2648. running into the same problems you are; however, it's not acting like I would
  2649. expect it to.  I've sent some mail to development to clear up a few behavior
  2650. and/or documentation errors.  As soon as some of these issues are cleared up,
  2651. I'll try and provide you with a sample or some information to help.  This
  2652. might take another day or two.
  2653.  
  2654. Thanks,
  2655.   -- Jerry [Win32 SDK Developer Support]
  2656.  
  2657.  
  2658.  
  2659. There is 1 Reply.
  2660.  
  2661. #: 16741 S4/API-User Interface   
  2662.     05-Nov-92  12:57:39
  2663. Sb: #16736-GetNextWindow()
  2664. Fm: Howard Myers 76711,462
  2665. To: Jerry Drain [Microsoft] 72350,2056 (X)
  2666.  
  2667. Thanks!  I'll wait for your next reply.
  2668.  
  2669. Howard Myers
  2670.  
  2671. There is 1 Reply.
  2672.  
  2673. #: 16857 S4/API-User Interface   
  2674.     06-Nov-92  16:09:12
  2675. Sb: #16741-GetNextWindow()
  2676. Fm: Jerry Drain [Microsoft] 72350,2056
  2677. To: Howard Myers 76711,462
  2678.  
  2679. Hi Howard,
  2680.  
  2681. I've just uploaded a very small sample called getnxt.zip into MSWIN32, Lib4.
  2682.  It's very simple, but it uses GetNextWindow() to list all of the windows on
  2683. the desktop by their caption bar title, and the window handle value.  Please
  2684. compare this with your code, and let me know what questions arise.
  2685.  
  2686. Thanks,
  2687.   -- Jerry [Win32 SDK Developer Support]
  2688.  
  2689. #: 16798 S4/API-User Interface   
  2690.     05-Nov-92  20:46:03
  2691. Sb: Status of upload
  2692. Fm: murray snowden 76620,702
  2693. To: API-User Interface
  2694.  
  2695. I uploaded a file that has problem after program exits - sharb.zip. How do i
  2696. get status. Did you receive it? File was sent on 10-31-92.
  2697.  I placed it under item 4 - API - User Interface.
  2698.  
  2699. There is 1 Reply.
  2700.  
  2701. #: 16858 S4/API-User Interface   
  2702.     06-Nov-92  16:10:28
  2703. Sb: #16798-Status of upload
  2704. Fm: Steve Firebaugh [MS] 75430,412
  2705. To: murray snowden 76620,702
  2706.  
  2707. Murray,   We have not seen sharb.zip.  I aksed our sysop, and he did not have
  2708. any record of it.  That is the first time I have heard of this happening in
  2709. this forum.  If you would, please upload it again, and post a message here
  2710. with information about it.
  2711.  
  2712. Please note that almost all of our work here is driven by message postings. We
  2713. do not watch the libraries for work to do.  If you want someone to look at an
  2714. issue, please post a message.  Thanks.
  2715.  
  2716. Steve Firebaugh
  2717.  
  2718.  
  2719.  
  2720.  
  2721. #: 16334 S5/API-GDI/Graphics   
  2722.     02-Nov-92  10:04:05
  2723. Sb: #16265-Screen Saver
  2724. Fm: Petrus Wong [Microsoft] 70743,3355
  2725. To: Mark Gamber 76450,2754 (X)
  2726.  
  2727. Hello Mark,
  2728.  
  2729. Thanks for the feedback, I will pass that along to our developers...
  2730.  
  2731. petrus
  2732.  
  2733.  
  2734. #: 16268 S5/API-GDI/Graphics   
  2735.     31-Oct-92  06:52:30
  2736. Sb: Vid driver for ATI UPro?
  2737. Fm: Chuck Venter 76424,2626
  2738. To: all
  2739.  
  2740. I'm guessing at the section here,  I'm assuming video drivers are part of
  2741. graphics?
  2742.  
  2743. Has anyone got (supported or not) a driver for the october release that
  2744. supports the ATI Ultra Pro video accelerator card?
  2745.  
  2746. ATI hasn't but i heard that some people at Microsoft were using that card and
  2747. wondered if they have something we can use till ATI delivers (or hell freezes
  2748. over, whichever comes first).  :)
  2749.  
  2750.  
  2751.  
  2752. There is 1 Reply.
  2753.  
  2754. #: 16335 S5/API-GDI/Graphics   
  2755.     02-Nov-92  10:04:10
  2756. Sb: #16268-Vid driver for ATI UPro?
  2757. Fm: Petrus Wong [Microsoft] 70743,3355
  2758. To: Chuck Venter 76424,2626 (X)
  2759.  
  2760. Hello Chuck,
  2761.  
  2762.  >>Has anyone got (supported or not) a driver for the october release that
  2763. supports the ATI Ultra Pro video accelerator card?<<
  2764.  
  2765.  No, Windows NT is not supporting the card yet...
  2766.  
  2767.  ...petrus
  2768.  
  2769. #: 16484 S5/API-GDI/Graphics   
  2770.     03-Nov-92  12:02:41
  2771. Sb: MIPS blt is sloooow!!!
  2772. Fm: Petrus Wong [Microsoft] 70743,3355
  2773. To: Lanre Amos 70550,2360 (X)
  2774.  
  2775. Hello Lanre,
  2776.  
  2777.  >>Blt functions on the MIPS (StretchBlt etc) is slooooooooow on the October
  2778. build. Much slower than on the July PDC! Any ideas what's going on here?<<
  2779.  
  2780.  Can you provide us with some more information so that we can look into this?
  2781.  
  2782.  1. Is this regarding screen update? With wallpaper? If so, how many bits per
  2783. pixel?
  2784.  2. Is this memory to memory blt?
  2785.  
  2786.  thanks,
  2787.  petrus
  2788.  
  2789. #: 16331 S5/API-GDI/Graphics   
  2790.     02-Nov-92  09:24:58
  2791. Sb: #16212-Bug in StretchBlt
  2792. Fm: Len Gray 71630,1703
  2793. To: Steve Firebaugh [MS] 75430,412 (X)
  2794.  
  2795. Hi, Steve
  2796.  
  2797. I checked out the STREBLT example and find the same problem that I reported.
  2798.  
  2799. Try this:
  2800.  
  2801.   - Open STREBLT.  Set the Source and Target values to 0, 0, 32, 32.
  2802.     This is the setting for a straight transfer of a 32x32 bitmap.
  2803.  
  2804.   - Select New Source and open up the EGYPT.BMP bitmap that comes with
  2805.     Windows.
  2806.  
  2807.   - You should have identical bitmaps on each side.  Note that there is
  2808.     tan (color) along the bottom edge of the bitmap.
  2809.  
  2810.   - Change the target Y to 31, and the target height to -32.  These
  2811.     are the values that I have found do the correct 'flip' since
  2812.     Windows 3.0.  Hit ENTER to activate the new settings.
  2813.  
  2814.   - Now you see a vertically flipped bitmap in the dest area, but notice
  2815.     that there is no color along the top edge.  This is the same result
  2816.     that I get in my application when it runs under Windows NT.
  2817.  
  2818. Please let me know what you see when you try it on your end.  Thanks!
  2819.  
  2820.     Best regards,
  2821.     Len
  2822.  
  2823.  
  2824.  
  2825. There is 1 Reply.
  2826.  
  2827. #: 16602 S5/API-GDI/Graphics   
  2828.     04-Nov-92  11:03:28
  2829. Sb: #16331-Bug in StretchBlt
  2830. Fm: Steve Firebaugh [MS] 75430,412
  2831. To: Len Gray 71630,1703 (X)
  2832.  
  2833. Len,  Sorry about taking so long to respond.  I too have seen the 1 pixel
  2834. difference between Windows 3.1 and Win32.  I've been trying to track down
  2835. someone who can tell me which version is the correct behavior.  No luck yet,
  2836. but I'll keep trying.  As you've observed, this mirroring functionality is not
  2837. especially well documented, although I do not see any place where it is
  2838. actually wrong.
  2839.  
  2840. In any case, you are getting a vertically mirrored image right?  For now,
  2841. can't you use Y=32 (rather than 31) as a work around?  I find that this gives
  2842. me the upside down image exactly where I would want it.  Thanks.
  2843.  
  2844. Steve Firebaugh
  2845.  
  2846. #: 16497 S5/API-GDI/Graphics   
  2847.     03-Nov-92  14:59:55
  2848. Sb: Bug in StretchBlt
  2849. Fm: Len Gray 71630,1703
  2850. To: All
  2851.  
  2852. I posted a bug in StretchBlt here last week.  Steve Firebaugh suggested that
  2853. there was no bug and to check out the STREBLT sample app.
  2854.  
  2855. I have checked out STREBLT and it reproduces the error I reported.  I noticed
  2856. that Steve hasn't received messages here since last week - perhaps someone
  2857. from Microsoft could read my message #16331 for the bug report. (The original
  2858. report is in message #16197).
  2859.  
  2860. Thank you!
  2861.  
  2862.     Len
  2863.  
  2864.  
  2865.  
  2866. There is 1 Reply.
  2867.  
  2868. #: 16527 S5/API-GDI/Graphics   
  2869.     03-Nov-92  17:34:17
  2870. Sb: #16497-Bug in StretchBlt
  2871. Fm: Steve Firebaugh [MS] 75430,412
  2872. To: Len Gray 71630,1703 (X)
  2873.  
  2874. Len.  I am working on the problem which you posted yesterday.  I will have an
  2875. answer for you here by tomorrow morning.
  2876.  
  2877. Steve Firebaugh
  2878.  
  2879. #: 16491 S5/API-GDI/Graphics   
  2880.     03-Nov-92  13:56:41
  2881. Sb: Video Cards
  2882. Fm: Absoft Corporation 76360,3551
  2883. To: All
  2884.  
  2885. 92.11.03
  2886.  
  2887. Absoft is preparing some Windows NT graphically oriented demonstration
  2888. programs that will be displayed in one of the Intel hosted areas of
  2889. COMDEX. Many of our demos, written in FORTRAN and compiled with our
  2890. 32-bit Windows NT compiler, are best when run on high resolution
  2891. displays with a bare minimum of 8 bit color. We have been contacting
  2892. 24bit card manufacturers to see if any of them have drivers for Windows NT.
  2893. So far we've been drawing a blank. Can Microsoft supply a list of video
  2894. card vendors supporting drivers for the July build of Windows NT? We
  2895. would prefer either MCA or EISA cards. If we can't find appropriate
  2896. drivers/cards we'll probably change our operating system choice to
  2897. DOS or Unix; we'd prefer to show-off under Windows NT (some of our
  2898. demo apps make nice use of threads).
  2899.  
  2900.  
  2901.  
  2902. Jeff Knaggs
  2903. Absoft
  2904. 2781 Bond St.
  2905. Rochester Hills, MI 48309
  2906. (313) 853-0050 voice
  2907. (313) 853-0108 fax
  2908. (313) 853-0000 bbs 2400,8,1,n
  2909.   
  2910.  
  2911. There is 1 Reply.
  2912.  
  2913. #: 16603 S5/API-GDI/Graphics   
  2914.     04-Nov-92  11:03:35
  2915. Sb: #16491-Video Cards
  2916. Fm: Steve Firebaugh [MS] 75430,412
  2917. To: Absoft Corporation 76360,3551 (X)
  2918.  
  2919. Jeff Knaggs,   If you have the October beta CD, there is a file named
  2920. \readme\oct92hcl.txt.  This is the "hardware compatibility list."  (I think
  2921. that this is also in a CIS library somewhere.  If you need it, let me know,
  2922. and I can either find it for you, or upload it.)  In any case, the supported
  2923. video cards from that file are listed below.  I hope that this helps,
  2924.  
  2925. Steve Firebaugh
  2926.  
  2927. [Excerpt from \readme\oct92hcl.txt...] Display Adapters ---------------The
  2928. following display adapters have been tested.
  2929.  
  2930. Actix Graphics ENGINE (1024x768, 800x600, 640x480, 256 colors) Diamond Stealth
  2931. VRAM (1024x768, 800x600, 640x480, 256 colors) Diamond SpeedStar (1024x768,
  2932. 800x600, 16 colors) IBM VGA (640x480, 16 colors) Headland Technology/Video 7
  2933. VRAM VGA (1024x768, 800x600, 16 colors) Headland Technology/Video 7 VRAM II
  2934. (1024x768, 800x600, 16 colors) Orchid Fahrenheit 1280 (1024x768, 800x600,
  2935. 640x480, 256 colors) Orchid ProDesigner IIs (1024x768, 800x600, 16 colors)
  2936. TSENG Labs ET4000 (1024x768, 800x600, 16 colors) IBM XGA(R)  (1024x768,
  2937. 640x480, 256 colors) DELL DGX (1280x1024, 1152x900, 1024x768, 800x600,
  2938. 640x480, 256 colors) S3 86C911 (1024x768, 800x600, 640x480, 256 colors)
  2939.  
  2940. Native display adapter on MIPS ARC/ R4000 systems from ACER, MIPS and Olivetti
  2941. (1280x1024, 1024x768, 256 colors)
  2942.  
  2943. #: 16734 S5/API-GDI/Graphics  [MSWIN32]   
  2944.     05-Nov-92  12:21:23
  2945. Sb: 
  2946. Fm: 
  2947. To: 
  2948.  
  2949.  >>Thanks for getting back to me, Bob. I was aware that critical sections are
  2950. an extreme solution there, and I used them so I was sure I understood the
  2951. sequencing of the threads.  That was while I still suspected the problem was
  2952. related to multi-threaded "clients", to use the X terminology.<<
  2953.  
  2954.  >>But remember we saw a rarer version of the same bug in Perfmonitor (July
  2955. rel) which is a single threaded app.  This make me much more suspicious of a
  2956. sequencing problem in the "server": i.e Window Manager.<<
  2957.  
  2958. >>>> Hmm...looks like a base issue.  Would you please repost this in the
  2959. >>>>API-Base/Section.
  2960.  
  2961. >>>> thanks, >>>> petrus
  2962.  
  2963. Done,
  2964.  
  2965. Dave
  2966.  
  2967.  
  2968.  
  2969. There is 1 Reply.
  2970.  
  2971. #: 16659 S5/API-GDI/Graphics   
  2972.     04-Nov-92  16:35:31
  2973. Sb: Remember Perfmonitor
  2974. Fm: David Arathorn 70412,2772
  2975. To: Bob Landau, 70744,21 (X)
  2976.  
  2977. Thanks for getting back to me, Bob. I was aware that critical sections are an
  2978. extreme solution there, and I used them so I was sure I understood the
  2979. sequencing of the threads.  That was while I still suspected the problem was
  2980. related to multi-threaded "clients", to use the X terminology.
  2981.  
  2982. But remember we saw a rarer version of the same bug in Perfmonitor (July rel)
  2983. which is a single threaded app.  This make me much more suspicious of a
  2984. sequencing problem in the "server": i.e Window Manager.
  2985.  
  2986. Good Luck,
  2987.  
  2988. Dave
  2989.  
  2990.  
  2991.  
  2992. There is 1 Reply.
  2993.  
  2994. #: 16734 S5/API-GDI/Graphics   
  2995.     05-Nov-92  12:21:23
  2996. Sb: #16659-Remember Perfmonitor
  2997. Fm: Petrus Wong [Microsoft] 70743,3355
  2998. To: David Arathorn 70412,2772 (X)
  2999.  
  3000. David,
  3001.  
  3002.  >>Thanks for getting back to me, Bob. I was aware that critical sections are
  3003. an extreme solution there, and I used them so I was sure I understood the
  3004. sequencing of the threads.  That was while I still suspected the problem was
  3005. related to multi-threaded "clients", to use the X terminology.<<
  3006.  
  3007.  >>But remember we saw a rarer version of the same bug in Perfmonitor (July
  3008. rel) which is a single threaded app.  This make me much more suspicious of a
  3009. sequencing problem in the "server": i.e Window Manager.<<
  3010.  
  3011.  Hmm...looks like a base issue.  Would you please repost this in the
  3012. API-Base/Section.
  3013.  
  3014.  thanks,
  3015.  petrus
  3016.  
  3017. #: 16538 S5/API-GDI/Graphics   
  3018.     03-Nov-92  18:59:32
  3019. Sb: Real-time animation??
  3020. Fm: Petrus Wong [Microsoft] 70743,3355
  3021. To: Joe Peterson[CyberStore] 76150,1714 (X)
  3022.  
  3023. Hi Joe:
  3024.  
  3025.  Can you be a little bit more specific what kind of support you are looking
  3026. for?
  3027.  
  3028.  thanks,
  3029.  petrus
  3030.  
  3031.  
  3032.  
  3033. There is 1 Reply.
  3034.  
  3035. #: 16557 S5/API-GDI/Graphics   
  3036.     03-Nov-92  22:43:42
  3037. Sb: #16538-Real-time animation??
  3038. Fm: Joe Peterson[CyberStore] 76150,1714
  3039. To: Petrus Wong [Microsoft] 70743,3355 (X)
  3040.  
  3041. If by support, you mean via NT, then here's what we need the ability to do:
  3042.  
  3043. 1) Real-time animation -- not pre-recorded frame playing, or bitblt-ing.  We
  3044. need to generate graphical objects on the fly, and animate them.  That is,
  3045. move them around in a three-demensional world created by the software.  (This
  3046. world must be as dynamic as the real world, where objects in the world come
  3047. and go based on changes in the usage of the software, and what it is supposed
  3048. to do.)
  3049.  
  3050. 2) Full-motion video, both full-screen and in a window.  This video must be of
  3051. a quality to parallel that of your average television picture.  This video
  3052. must be played back smoothly and without and jerkiness.
  3053.  
  3054. 3) Full-stereo sound (or at least to the quality of available sound cards).
  3055. Just as for video, this sound playback must be smooth and without and
  3056. break-up.
  3057.  
  3058. 4) The system must support a high-speed (9600 bps or better) communications
  3059. session while the "virtual world"/multimedia presentation per above is
  3060. running.
  3061.  
  3062. 5) And lastly, the system must be capable of upcoming technologies, such as
  3063. voice recognition and generation.
  3064.  
  3065. Of course, we'd like all this to happen is a standard GUI environment as well.
  3066.  Currently, our view on Windows and OS/2 is that the GDI and GPI,
  3067. respectively, cannot handle the requirements I've outlined.  The implication
  3068. is that we must use "home-brewed" graphics routines in a full-screen
  3069. environment and by-pass all the functionality offered by the Windows or PM
  3070. interface.
  3071.  
  3072. My question to Microsoft is: can NT fill these requirements, both *currently*
  3073. (1 year or less down the pike), and into the future (two or more years along).
  3074. Given that we don't expect to complete development much earlier than 12 to 18
  3075. months from now, would say that we could count on support for our requirements
  3076. in NT?
  3077.  
  3078. jep
  3079.  
  3080.  
  3081.  
  3082. There is 1 Reply.
  3083.  
  3084. #: 16767 S5/API-GDI/Graphics   
  3085.     05-Nov-92  16:07:59
  3086. Sb: #16557-Real-time animation??
  3087. Fm: Petrus Wong [Microsoft] 70743,3355
  3088. To: Joe Peterson[CyberStore] 76150,1714
  3089.  
  3090. Hello Joe,
  3091.  
  3092.  Thanks for the feedback. I will pass them along to our development. For point
  3093. 3, full-stereo sound, Windows NT already support that.
  3094.  
  3095.  As for the other requirements, it really depends on what kind of hardware you
  3096. want to run on.  We do have plans to support multimedia areas other than
  3097. sound, but I don't have any time frame available for you.
  3098.  
  3099.  thanks,
  3100.  petrus
  3101.  
  3102. #: 16589 S5/API-GDI/Graphics   
  3103.     04-Nov-92  10:29:52
  3104. Sb: GetDC returns NULL-why?
  3105. Fm: Mike Payne 71062,3342
  3106. To: Anyone
  3107.  
  3108. Could someone please give me quick summary of why GetDC would return a value
  3109. of NULL. My aplication runs along fine, until, after about 30000 calls to
  3110. GetDC (And also calls to releaseDC ), GetDC just starts returning 0 for any
  3111. windows (it seems) which were not created before that point. All the windows
  3112. are of the same class, and have CS_OWNDC set . (Is this the problem?). Thanks
  3113. Chris Hall (71062,3342)
  3114.  
  3115. There is 1 Reply.
  3116.  
  3117. #: 16799 S5/API-GDI/Graphics   
  3118.     05-Nov-92  20:58:58
  3119. Sb: #16589-GetDC returns NULL-why?
  3120. Fm: Petrus Wong [Microsoft] 70743,3355
  3121. To: Mike Payne 71062,3342
  3122.  
  3123. Hi Chris,
  3124.  
  3125.  >>Could someone please give me quick summary of why GetDC would return a
  3126. value of NULL. My aplication runs along fine, until, after about 30000 calls
  3127. to GetDC (And also calls to releaseDC ), GetDC just starts returning 0 for any
  3128. windows (it seems) which were not created before that point. All the windows
  3129. are of the same class, and have CS_OWNDC set . (Is this the problem?).<<
  3130.  
  3131.  Is it possible that you are running out of memory or hard disk space for the
  3132. swapping file? A memory leak somewhere?
  3133.  
  3134.  petrus
  3135.  
  3136. #: 16483 S5/API-GDI/Graphics   
  3137.     03-Nov-92  12:02:35
  3138. Sb: S3 Drivers
  3139. Fm: Petrus Wong [Microsoft] 70743,3355
  3140. To: Howard Myers 76711,462 (X)
  3141.  
  3142. Hello Howard:
  3143.  
  3144.  >>First, the SetDIBits with a 256 color logical palette is extremely slow.
  3145. (Approx. 10 times slower than 3.1) (Naturally, this assumes use of the
  3146. DIB_PAL_INDICES option. Using DIB_PAL_COLORS it is extremely fast, but
  3147. obviously gives incorrect results when 256 colors are required.)<<
  3148.  
  3149.  This will be fixed in Beta 2.  Think you might want to know...
  3150.  
  3151.  ...petrus
  3152.  
  3153.  
  3154.  
  3155.  
  3156. There is 1 Reply.
  3157.  
  3158. #: 16492 S5/API-GDI/Graphics   
  3159.     03-Nov-92  13:57:08
  3160. Sb: #16483-S3 Drivers
  3161. Fm: Howard Myers 76711,462
  3162. To: Petrus Wong [Microsoft] 70743,3355 (X)
  3163.  
  3164. Thanks!  I'm looking forward to Beta 2 already!
  3165.  
  3166. There is 1 Reply.
  3167.  
  3168. #: 16697 S5/API-GDI/Graphics   
  3169.     04-Nov-92  22:56:16
  3170. Sb: #16492-S3 Drivers
  3171. Fm: Petrus Wong [Microsoft] 70743,3355
  3172. To: Howard Myers 76711,462 (X)
  3173.  
  3174. Hello Howard,
  3175.  
  3176.  Wonder if you have found a work around for the color problem already. Here is
  3177. what I have discovered; you might want to use it as a temporary work around
  3178. for the Comdex. (I have already raised a bug against it, but might take a
  3179. while for it to be fixed.)
  3180.  
  3181.  Repeating the rendering process on a OWNDC will give the correct color.
  3182. (Actually, the second time and thereafter will work.) By repeating the
  3183. process, I meant selecting the palette, realizing the palette and then blting
  3184. the bitmap again.
  3185.  If this is not an OWNDC, that wonldn't work.  (Let me know if you like to see
  3186. my test code.)
  3187.  
  3188.  Hope that helps,
  3189.  
  3190.  petrus
  3191.  
  3192.  
  3193.  
  3194. There are 2 Replies.
  3195.  
  3196. #: 16706 S5/API-GDI/Graphics   
  3197.     05-Nov-92  05:31:59
  3198. Sb: #16697-S3 Drivers
  3199. Fm: Howard Myers 76711,462
  3200. To: Petrus Wong [Microsoft] 70743,3355 (X)
  3201.  
  3202. I'll give it a try.  I have worked around the color problem using SetPixelV(),
  3203. but this is quite slow.  Maybe your technique will help me get some speed
  3204. back.
  3205.  
  3206. Thanks!
  3207.  
  3208. #: 16803 S5/API-GDI/Graphics   
  3209.     05-Nov-92  22:33:56
  3210. Sb: #16697-S3 Drivers
  3211. Fm: Brian Moura 76702,1337
  3212. To: Petrus Wong [Microsoft] 70743,3355 (X)
  3213.  
  3214.  
  3215. We noted that the S3 640x480x256 driver works but the video is displayed
  3216. incorrectly.  Makes the screen image look like 800x600 and not 640x480.
  3217.  
  3218. Had to switch back to the NT VGA driver for correct video.
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224. There is 1 Reply.
  3225.  
  3226. #: 16844 S5/API-GDI/Graphics   
  3227.     06-Nov-92  14:02:54
  3228. Sb: #16803-S3 Drivers
  3229. Fm: Petrus Wong [Microsoft] 70743,3355
  3230. To: Brian Moura 76702,1337
  3231.  
  3232. Brian,
  3233.  
  3234.  >>We noted that the S3 640x480x256 driver works but the video is displayed
  3235. incorrectly.  Makes the screen image look like 800x600 and not 640x480.
  3236.  
  3237.  Hmmm...I tried switching back and forth among the 1024x768, 800x600 and
  3238. 640x480 via regedit, the video looks fine to me...
  3239.  
  3240.  ...petrus
  3241.  
  3242. #: 16834 S5/API-GDI/Graphics   
  3243.     06-Nov-92  11:40:34
  3244. Sb: Video Adapters
  3245. Fm: Absoft Corporation 76360,3551
  3246. To: all
  3247.  
  3248. 92.11.06
  3249.  
  3250.         Steve Firebaugh,
  3251.  
  3252.         We appreciate your response, but we will be using the
  3253.         the July release of Windows NT at COMDEX. Therefore,
  3254.         we need a list of display adapters which will work
  3255.         under the July release. We would like a display having
  3256.         24 bit color, but please give us a complete list of
  3257.         display adapters.                      
  3258.  
  3259. Bruce Meier
  3260. Absoft Corporation
  3261.   
  3262.  
  3263. There are 2 Replies.
  3264.  
  3265. #: 16845 S5/API-GDI/Graphics   
  3266.     06-Nov-92  14:02:58
  3267. Sb: #16834-Video Adapters
  3268. Fm: Petrus Wong [Microsoft] 70743,3355
  3269. To: Absoft Corporation 76360,3551
  3270.  
  3271. Hi Bruce,
  3272.  
  3273.  Sorry for jumping in...but the October Beta don't have display driver support
  3274. for 24 bit color yet.  Our DDK was just released though.
  3275.  
  3276.  thanks,
  3277.  petrus
  3278.  
  3279. #: 16846 S5/API-GDI/Graphics   
  3280.     06-Nov-92  14:41:11
  3281. Sb: #16834-Video Adapters
  3282. Fm: Steve Firebaugh [MS] 75430,412
  3283. To: Absoft Corporation 76360,3551
  3284.  
  3285. Bruce Meier,
  3286.  
  3287. The July release offered fewer choices for video display.  There were only two
  3288. display adapters for X86 platform which offered more than four bit color:  the
  3289. IBM XGA and the DELL DGX, both with eight bit color. All of this is covered in
  3290. the release notes and hardware compatibility list which you should have
  3291. received at the same time that you got the July SDK itself.
  3292.  
  3293. Steve Firebaugh
  3294.  
  3295. #: 16673 S5/API-GDI/Graphics   
  3296.     04-Nov-92  18:59:06
  3297. Sb: Making .FON files
  3298. Fm: Steve Firebaugh [MS] 75430,412
  3299. To: Bruce Cowan 73650,32 (X)
  3300.  
  3301. Bruce,   Last week we were discussing the fact that EnumFonts() returns an
  3302. application FOUR versions of a bitmap font from a FON file.  (plain, italic,
  3303. bold, italic&bold).  I have finally heard back from the people responsible for
  3304. the EnumFonts() code.  They consider it a bug, and will fix the next release
  3305. so that it only returns one.  Thought you'd be interested.  Hope your work is
  3306. going well.
  3307.  
  3308. Steve Firebaugh
  3309.  
  3310.  
  3311.  
  3312. There is 1 Reply.
  3313.  
  3314. #: 16747 S5/API-GDI/Graphics   
  3315.     05-Nov-92  14:14:22
  3316. Sb: #16673-Making .FON files
  3317. Fm: Bruce Cowan 73650,32
  3318. To: Steve Firebaugh [MS] 75430,412 (X)
  3319.  
  3320. Thanks Steve.  Yes, otherwise things are going quite well.  The inability to
  3321. draw on DIBs will shortly cause me to have to rewrite quite a bit of code,
  3322. but ...  The only real problem is the time it takes to report all the bugs
  3323. to you folks <g>!
  3324.  
  3325. Bruce
  3326.  
  3327. There is 1 Reply.
  3328.  
  3329. #: 16818 S5/API-GDI/Graphics   
  3330.     06-Nov-92  09:37:08
  3331. Sb: #16747-Making .FON files
  3332. Fm: Steve Firebaugh [MS] 75430,412
  3333. To: Bruce Cowan 73650,32 (X)
  3334.  
  3335. Hi Bruce.
  3336.  
  3337.  >The only real problem is the time it takes to report all the bugs
  3338.  >to you folks <g>!
  3339.  
  3340. We really would like to be doing the best that we can on receiving such bug
  3341. reports, but we are subject to certain constraints.  I you have time, I'd
  3342. appreciate it if you could expand your comment.  1.  Do you consider the
  3343. medium of communication the problem here?  If so, what would be better? 2.  Do
  3344. you consider the response times you've been getting inadequate? 3.  Do you
  3345. consider the structure of this forum a problem?  Your comments appreciated.
  3346.  
  3347. Steve Firebaugh
  3348.  
  3349.  
  3350.  
  3351. There is 1 Reply.
  3352.  
  3353. #: 16835 S5/API-GDI/Graphics   
  3354.     06-Nov-92  11:41:46
  3355. Sb: #16818-Making .FON files
  3356. Fm: Bruce Cowan 73650,32
  3357. To: Steve Firebaugh [MS] 75430,412 (X)
  3358.  
  3359. Steve, the problem is that I have this rather large application which I am
  3360. porting to NT.  All I really want to do it get it working in NT.  However, NT
  3361. is quite buggy (no condemnation of NT intended) at this point, so when I run
  3362. into a problem I have to 1) make sure it isn't my bug, 2) isolate it into a
  3363. small piece of code if possible, 3) report it to you folks.  It is really the
  3364. second activity which causes all the time "wasting" - sometimes it is really
  3365. quite time-consuming to extract bits of things to figure out what is going on.
  3366.  
  3367. I'll give you an example.  Right now I have a problem where the system colors
  3368. get clobbered and I do not ask to have them clobbered.  Actually, only the
  3369. button shadow color gets clobbered.  I've spent some time trying to figure
  3370. out what is going on, with no luck so far.  Everything I've extracted from my
  3371. program works just fine in isolation!  Of course, if you know much about using
  3372. animated palettes you nkow that this is a complex situation anyway.  Hopefully
  3373. I'm getting somewhere (I just had another idea) and will be able to report
  3374. something useful on this problem soon.  (Needless to say, it all works fine in
  3375. Win 3.1.)
  3376.  
  3377. Bruce
  3378.  
  3379. There is 1 Reply.
  3380.  
  3381. #: 16847 S5/API-GDI/Graphics   
  3382.     06-Nov-92  14:41:16
  3383. Sb: #16835-Making .FON files
  3384. Fm: Steve Firebaugh [MS] 75430,412
  3385. To: Bruce Cowan 73650,32
  3386.  
  3387. Bruce,  Thanks for the feedback.  Fundamentally, this seems like the problem
  3388. which any project is going to run into developing software on a beta system. 
  3389. The only slightly useful tool we would have to help you would be the
  3390. "Knowledge Base" which should contain a list of all of the bugs that we are
  3391. aware of.  You can 'GO MSKB' on Compuserve, but I have found that interface
  3392. rather clumsy.  We try to include the most up-to-date Knowledge Base on each
  3393. CD, but most of the bugs come in right AFTER the CD is released, not before.
  3394.  
  3395. Steve Firebaugh
  3396.  
  3397.  
  3398.  
  3399.  
  3400. #: 15692 S6/API-Base/Security   
  3401.     23-Oct-92  12:06:27
  3402. Sb: 
  3403. Fm: 
  3404. To: 
  3405. Note that GetCurrentProcess() only returns a psuedo handle which *only* has
  3406. meaning in the context of the calling process.
  3407.  hpsuedoHandle = GetCurrentProcess();
  3408.  retCode = DuplicateHandle( hpsuedoHandle,
  3409.  ... >> I have been playing a little bit with 'DuplicateHandle' but I could
  3410. not resolve my problem this way (I wanted to send a message to another
  3411. application). Now I am using the function 'PostThreadMessage' which works
  3412. satisfactorily, for the thread ids are unique in the system.
  3413.  
  3414. Christian Betrisey.
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420. There is 1 Reply.
  3421.  
  3422.  
  3423. #: 16267 S6/API-Base/Security   
  3424.     30-Oct-92  22:20:40
  3425. Sb: Info on 'GetProcAddress'
  3426. Fm: Eric Sassaman/Microsoft 75430,411
  3427. To: Neil Goldstein 70632,3566 (X)
  3428.  
  3429. << I need info on GetProcAddress. We have created our own DLL and am not
  3430. getting the address back from a procedure point that we know is in the DLL,
  3431. but we are not getting an error either. >>
  3432.  
  3433. We'll need a bit more to go on... if you could post a small sample that
  3434. reproduces the problem we'll be glad to track the problem down. If it's a bit
  3435. to big to post (please avoid this at all costs - the smaller the better) you
  3436. can upload the sample to the forum library as per page 51 of the Oct release
  3437. notes. Thanks!
  3438.  
  3439.   Eric Sassaman
  3440.   Microsoft NT Support
  3441.  
  3442. #: 16312 S6/API-Base/Security   
  3443.     01-Nov-92  16:31:17
  3444. Sb: GetUserName ???
  3445. Fm: Eric Brown 71214,1006
  3446. To: ALL (Tech. Support)
  3447.  
  3448. Every time I try to compile my program which calls "GetUserName", I get a link
  3449. error - GetUserNameA8@ undefined. GetUserName is defined in winbase.h, but I
  3450. guess it is not in and of the libraries as far as I can tell. It is in the
  3451. help files. Also, MAX_USERNAME_LENGHT is undefined. Currently, I am using
  3452. libc.lib, ntdll.lib and kernel32.dll. Is there anyway to get at this function
  3453. - or at least to get the user name of the current user in this release of
  3454. windows NT?
  3455.  
  3456. Thanks in advance, Eric.
  3457.  
  3458.  
  3459.  
  3460. There is 1 Reply.
  3461.  
  3462. #: 16385 S6/API-Base/Security   
  3463.     02-Nov-92  15:22:02
  3464. Sb: #16312-GetUserName ???
  3465. Fm: Bruce Ramsey/Microsoft 70324,2742
  3466. To: Eric Brown 71214,1006
  3467.  
  3468. Hi Eric -
  3469.  
  3470. >> Every time I try to compile my program which calls
  3471.   "GetUserName", I get a link error - GetUserNameA8@ undefined.
  3472.   GetUserName is defined in winbase.h, but I guess it is not in
  3473.   and of the libraries as far as I can tell.  It is in the help
  3474.   files.  Also, MAX_USERNAME_LENGHT is undefined.  Currently, I am
  3475.   using libc.lib, ntdll.lib and kernel32.dll.  Is there anyway to
  3476.   get at this function - or at least to get the user name of the
  3477.   current user in this release of windows NT?
  3478.  
  3479. Add in advapi32.lib to what you link in and it should work OK.
  3480.  
  3481. Thanks for the tip on the undefined define - I'll let the
  3482.   appropriate people know if they hadn't already noticed, and
  3483.   either the define will get added or the doc will get fixed
  3484.  
  3485. Bruce
  3486.  
  3487. #: 16409 S6/API-Base/Security   
  3488.     02-Nov-92  16:44:25
  3489. Sb: #16215-Signal Anomaly
  3490. Fm: David Taniguchi [MS] 72350,2054
  3491. To: Andrew Potter 71075,614 (X)
  3492.  
  3493. Hi Andrew,
  3494.   Thanks for providing the sample.
  3495.   We are looking into the problem.  We have reproduced what you describe.
  3496.   It appears to work sometimes (the second SPC> doesn't display periodically)
  3497.   We will post here when we get more information.
  3498.   Thanks,
  3499.   Dave
  3500.  
  3501. #: 16280 S6/API-Base/Security   
  3502.     31-Oct-92  12:05:53
  3503. Sb: FormatMessage bug?
  3504. Fm: Rex Conn (4DOS) 71333,202
  3505. To: Sysop (X)
  3506.  
  3507. There seems to be a bug in the October release version of FormatMessage. The
  3508. lower 8 bits of the first argument are supposed to specify the maximum line
  3509. length; instead FormatMessage with a FORMAT_MESSAGE_FROM_SYSTEM argument
  3510. truncates the first line to < 10 characters, inserts a CR/LF, and then fails
  3511. to add a trailing CR/LF on the second line.  I've kludged around it for the
  3512. moment by using a 0 in the lower byte & hoping the system error messages won't
  3513. be longer than 80 characters!
  3514.  
  3515. Also, I was under the impression that national language support was supposed
  3516. to be added in the October release, but the language ID field in FormatMessage
  3517. still isn't supported - is it supposed to be or was that put off until the
  3518. next beta?
  3519.  
  3520.        - Rex
  3521.  
  3522.  
  3523.  
  3524.  
  3525. There is 1 Reply.
  3526.  
  3527. #: 16432 S6/API-Base/Security   
  3528.     02-Nov-92  20:12:20
  3529. Sb: #16280-FormatMessage bug?
  3530. Fm: Eric Sassaman/Microsoft 75430,411
  3531. To: Rex Conn (4DOS) 71333,202 (X)
  3532.  
  3533. << There seems to be a bug in the October release version of FormatMessage.
  3534. The lower 8 bits of the first argument are supposed to specify the maximum
  3535. line length; instead FormatMessage with a FORMAT_MESSAGE_FROM_SYSTEM argument
  3536. truncates the first line to < 10 characters, inserts a CR/LF, and then fails
  3537. to add a trailing CR/LF on the second line.  I've kludged around it for the
  3538. moment by using a 0 in the lower byte & hoping the system error messages won't
  3539. be longer than 80 characters! >>
  3540.  
  3541. Thanks for catching this one! I've reported this bug to development. I'll let
  3542. you know when they get back to me on this.
  3543.  
  3544. << Also, I was under the impression that national language support was
  3545. supposed to be added in the October release, but the language ID field in
  3546. FormatMessage still isn't supported - is it supposed to be or was that put off
  3547. until the next beta? >>
  3548.  
  3549. Not sure about the NLS issue, but this particular problem against
  3550. FormatMessage is still open - this bug hasn't been fixed. I don't have any
  3551. kind of timetable on when this will be fixed, hopefully by the next release.
  3552. For now you'll have to keep using 0 for the usPrimaryLangage parameter to the
  3553. MAKELANGID macro.
  3554.  
  3555.   Eric Sassaman
  3556.   Microsoft NT Support
  3557.  
  3558. #: 16438 S6/API-Base/Security   
  3559.     02-Nov-92  23:29:02
  3560. Sb: Communications timeouts
  3561. Fm: Eric Sassaman/Microsoft 75430,411
  3562. To: Bruce Cowan 73650,32 (X)
  3563.  
  3564. << That doesn't work (at least in the current release) because the shortest
  3565. timeout you can specify is 1ms. and the internal interpretation of that seems
  3566. to be that it will wait until the next timer tick, which, on an Intel 486
  3567. machine seems to be about 10ms.  I know this because I have tried it and this
  3568. is the behavior it exhibits.
  3569.  
  3570. I really would like you to seriously consider the extension.  It should be
  3571. easy to implement and it does provide significant additional functionality. I
  3572. suppose you could fix the interval timeout to actually work at 1 ms which
  3573. would work for me, but I can't see an efficient way to do that. >>
  3574.  
  3575. Yes, the shortest timeout interval will be rounded up to the clock interval. I
  3576. don't think there's a way to get around this problem, I believe (and I'm no
  3577. hardware guru) it is largely a limitation of the speed of the CPU and the
  3578. length of a clock tick.
  3579.  
  3580. << Further, if I use the short interval, then I can't read all the data that
  3581. has already arrived with a single call, since any read that specifies a count
  3582. greater than the available data will wait until a new character arrives and
  3583. then the timeout interval.  It could possibly be a *LONG* time until the next
  3584. character arrives.  I suppose I could use a call to find out how much data has
  3585. arrived and then read exactly that much, but that is getting complex and it
  3586. will suffer from the problem that because there are two separate calls, some
  3587. data could possibly arrive between the calls and it won't be read. >>
  3588.  
  3589. The interval timeout begins when the driver receives a character reguardless
  3590. of whether or not you are trying to read from the port at that moment - in
  3591. other words, if a char arrives, timing begins, then the timeout expires, then
  3592. you try a read, you will return right away with the available data since the
  3593. timeout has already expired. Give this a go and let me know how it works out -
  3594. it worked this way for me.
  3595.  
  3596. << BTW, lots of communications port stuff is broken in the July release, but I
  3597. am not bothering to report it because I am expecting the next release any
  3598. moment
  3599.  
  3600. [More]
  3601.  
  3602. There is 1 Reply.
  3603.  
  3604. #: 16439 S6/API-Base/Security   
  3605.     02-Nov-92  23:29:08
  3606. Sb: #16438-Communications timeouts
  3607. Fm: Eric Sassaman/Microsoft 75430,411
  3608. To: Eric Sassaman/Microsoft 75430,411 (X)
  3609.  
  3610. [Continued]
  3611.  
  3612. now and thought I'd test things there before reporting problems. >>
  3613.  
  3614. By now you should have the Oct. release - if the specific problems aren't
  3615. fixed, please let me know. Best if you could forward small sample(s) to demo
  3616. the problems - this would be the fastest way to get these to the attention of
  3617. development and fixed in time for the next release. Thanks!
  3618.  
  3619.   Eric Sassaman
  3620.   Microsoft NT Support
  3621.  
  3622. #: 16446 S6/API-Base/Security   
  3623.     03-Nov-92  05:46:38
  3624. Sb: Pointers
  3625. Fm: Dan Sullivan 76327,1534
  3626. To: SYSOP (X)
  3627.  
  3628. I have a general question about pointers. All the Win32 functions declare
  3629. pointers as long pointers (LPSTR for example). However all NT programming is
  3630. really small model so it seems that pointers should be just P and not LP. Was
  3631. this done to make porting of existing Win16 apps more straight forward? Is
  3632. there a concious style decision to retain LP as the standard for the future? I
  3633. would like to know so I can use similar naming of pointers in my NT app's.
  3634.  
  3635. Thanks Dan
  3636.  
  3637. #: 16463 S6/API-Base/Security   
  3638.     03-Nov-92  09:39:52
  3639. Sb: Validating path names
  3640. Fm: David Manns 100112,2773
  3641. To: ALL
  3642.  
  3643. Is there an API call to validate a path and/or file name? If we have to
  3644. validate our own, do we get any clues about the allowable name characters (esp
  3645. w.r.t FAT vs NTFS names)?
  3646.  
  3647. #: 16321 S6/API-Base/Security   
  3648.     02-Nov-92  06:09:12
  3649. Sb: #16211-Portable File Commit
  3650. Fm: Robin 100025,604
  3651. To: David Taniguchi [MS] 72350,2054 (X)
  3652.  
  3653. Thanks Dave, I'll see and get back to you.
  3654.  
  3655. Robin.
  3656.  
  3657. #: 16445 S6/API-Base/Security   
  3658.     03-Nov-92  05:36:05
  3659. Sb: #16211-Portable File Commit
  3660. Fm: John Hardman 100023,2532
  3661. To: David Taniguchi [MS] 72350,2054 (X)
  3662.  
  3663. Dave,
  3664.  
  3665. I thought fflush only flushed out the stream buffers (fopen type stuff) as
  3666. opposed to direct file i/o (open, sopen etc) stuff. Even with the stream
  3667. buffers I thought that fflush would flush the run-time library stream buffers
  3668. only rather than flushing any caching device such as Smartdrv ie. the stream
  3669. buffers would be flushed to smartdrv but smartdrv itself would not be flushed
  3670. to disk. Is this incorrect ?
  3671.  
  3672. I haven't looked at FlushFileBuffers yet - will do that this evening.
  3673. Obviously using FlushFileBuffers will mean using a #ifdef so that
  3674. FlushFileBuffers gets used for NT and the DOS3CALL (function 0Dh) used for Win
  3675. 3.1 - a compromise (assuming it works) but that's not a problem.
  3676.  
  3677. Many thanks,
  3678.  
  3679. John Hardman (UK).
  3680.  
  3681.  
  3682.   
  3683.  
  3684. There is 1 Reply.
  3685.  
  3686. #: 16488 S6/API-Base/Security   
  3687.     03-Nov-92  12:37:49
  3688. Sb: #16445-Portable File Commit
  3689. Fm: Pete Grey [Microsoft] 70744,22
  3690. To: John Hardman 100023,2532
  3691.  
  3692. >> I thought fflush only flushed out the stream buffers (fopen type stuff) as
  3693. opposed to direct file i/o (open, sopen etc) stuff. Even with the stream
  3694. buffers I thought that fflush would flush the run-time library stream buffers
  3695. only rather than flushing any caching device such as Smartdrv ie. the stream
  3696. buffers would be flushed to smartdrv but smartdrv itself would not be flushed
  3697. to disk. Is this incorrect ? <<
  3698.  
  3699. This is correct, it is necc. to use c-runtime file I/O to use fflush.
  3700.  
  3701. >> I haven't looked at FlushFileBuffers yet - will do that this evening.
  3702. Obviously using FlushFileBuffers will mean using a #ifdef so that
  3703. FlushFileBuffers gets used for NT and the DOS3CALL (function 0Dh) used for Win
  3704. 3.1 - a compromise (assuming it works) but that's not a problem. <<
  3705.  
  3706. FlushFileBuffers() will do this, as well as specifying FILE_FLAG_WRITE_THROUGH
  3707. when doing a CreateFile().
  3708.  
  3709. -pete
  3710.  
  3711. #: 16326 S6/API-Base/Security   
  3712.     02-Nov-92  07:49:34
  3713. Sb: DLL global var.
  3714. Fm: Christian Betrisey 76600,1450
  3715. To: John Stoddard
  3716.  
  3717. John,
  3718.  
  3719. <<Using global variable in a DLL>> Eventually everything is working fine. I
  3720. just have to initialize all the global variables. It is enough to initialize
  3721. only the 1st element of an array or structure. I do not need to export any
  3722. variables, for I access them through procedures. Thank you for your help.
  3723.  
  3724. Christian
  3725.  
  3726. There is 1 Reply.
  3727.  
  3728. #: 16516 S6/API-Base/Security   
  3729.     03-Nov-92  16:47:04
  3730. Sb: #16326-DLL global var.
  3731. Fm: John Stoddard 72400,2551
  3732. To: Christian Betrisey 76600,1450 (X)
  3733.  
  3734. Good! I'm glad you got it working.  Eric has been very helpful with these
  3735. issues - it's definitely rather confusing...
  3736.  
  3737. John
  3738.  
  3739. #: 16458 S6/API-Base/Security   
  3740.     03-Nov-92  09:39:33
  3741. Sb: Unicode printf
  3742. Fm: David Manns 100112,2773
  3743. To: ALL
  3744.  
  3745. Is there an equivalent to "printf" and/or "fprintf" for printing a Unicode
  3746. text string with a Unicode format string (including %ts format)?
  3747.  
  3748.   
  3749.  
  3750. There is 1 Reply.
  3751.  
  3752. #: 16534 S6/API-Base/Security   
  3753.     03-Nov-92  18:56:07
  3754. Sb: #16458-Unicode printf
  3755. Fm: Bruce Ramsey/Microsoft 70324,2742
  3756. To: David Manns 100112,2773
  3757.  
  3758. Hi David  -
  3759.  
  3760. >> Is there an equivalent to "printf" and/or "fprintf" for
  3761.   printing Unicode text string with a Unicode format string
  3762.   (including %ts format)?
  3763.  
  3764. Coud you please repost this in MSWIN32/section 14, which is the
  3765.   Unicode section?  I'm sorry, I don't know the answer to this
  3766.   one.  The people who are most focussed on Unicode issues are in
  3767.   section 14.  Thanks!
  3768.  
  3769. Bruce
  3770.  
  3771. #: 16574 S6/API-Base/Security   
  3772.     04-Nov-92  07:06:57
  3773. Sb: XACTION file Atrb
  3774. Fm: ken condal 72617,572
  3775. To: sysop (X)
  3776.  
  3777. I noticed a new file attribute for transaction processing and am very
  3778. interested in its uses. The help simply says that you must use 'transaction
  3779. semantics'. Where can I get info/examples and is this supported for all file
  3780. systems or just NTFS? Thanks, Ken
  3781.  
  3782. #: 16579 S6/API-Base/Security   
  3783.     04-Nov-92  09:10:40
  3784. Sb: GetFileTitle bug
  3785. Fm: Len Gray 71630,1703
  3786. To: All
  3787.  
  3788. I reported a bug with GetFileTitle in the July release whereby the filename
  3789. returned had the first character truncated.  Thus the following result would
  3790. occur:
  3791.  
  3792.    -> Feed GetFileTitle the string "C:\WINDOWS\FILE.EXT"
  3793.  
  3794.    -> It returned "ILE.EXT" in the filename buffer.
  3795.  
  3796. I had to have a working function so I wrote my own function GetFileName to do
  3797. the proper processing (DOS/FAT filenames only).
  3798.  
  3799. Since loading the October release I uncommented out the old GetFileTitle call
  3800. to see if this had been corrected.  However now it appears that GetFileTitle
  3801. is returning an error code of 0 (successful) without doing a darn thing in the
  3802. return filename buffer.  The buffer has the exact same thing in it after the
  3803. call as it had before.
  3804.  
  3805. Please let me know if I can help further with this.
  3806.  
  3807.     Len
  3808.  
  3809. #: 16601 S6/API-Base/Security   
  3810.     04-Nov-92  10:59:40
  3811. Sb: UnpackDDElParam problems
  3812. Fm: Pete Grey [Microsoft] 70744,22
  3813. To: Bruce Cowan 73650,32 (X)
  3814.  
  3815. Bruce,
  3816.  
  3817. Would you please re-post this in the API-USER section, as DDE is considered to
  3818. be part of the User API.
  3819.  
  3820. Thanks,
  3821.  
  3822. -pete
  3823.  
  3824. #: 16514 S6/API-Base/Security   
  3825.     03-Nov-92  16:44:59
  3826. Sb: DLL: shared data
  3827. Fm: John Stoddard 72400,2551
  3828. To: Eric Sassaman/Microsoft 75430,411 (X)
  3829.  
  3830. Thanks, I'm mostly just curious, it's no big deal.
  3831.  
  3832. JS
  3833.  
  3834. #: 16560 S6/API-Base/Security   
  3835.     04-Nov-92  00:04:17
  3836. Sb: DLL: shared data
  3837. Fm: Eric Sassaman/Microsoft 75430,411
  3838. To: John Stoddard 72400,2551 (X)
  3839.  
  3840. << Yup, that's just what I was doing - accessing the variable from an .EXE,
  3841. and resetting its value there... This whole area was very confusing, I just
  3842. wrote a bunch of test programs until I found out what worked and what didn't
  3843. in my environment. The key item I wouldn't have guessed on my own was that it
  3844. was a *pointer* to the item that was exported - any idea why this was done? It
  3845. sure has been the source of most of my problems in porting from OS/2! >>
  3846.  
  3847. John, I've gotten word back on why this was done. The reason is that if the
  3848. loader has to do fixups all over the code pages to set these data references
  3849. to the correct addresses in the DLL, it dirties the code pages, which means
  3850. that the pager can't just toss them out and restore from the .exe image, but
  3851. must page the dirtied code pages out to the paging file. If, instead, only a
  3852. small indirection table (the Import Address Table) is used, the system won't
  3853. need to page out gobs of modified code pages. Applying these fixups takes
  3854. time, too, so there was a performance decision there.
  3855.  
  3856.   Eric Sassaman
  3857.   Microsoft Developer Support
  3858.  
  3859.  
  3860.  
  3861. There is 1 Reply.
  3862.  
  3863. #: 16609 S6/API-Base/Security   
  3864.     04-Nov-92  11:19:34
  3865. Sb: #16560-DLL: shared data
  3866. Fm: John Stoddard 72400,2551
  3867. To: Eric Sassaman/Microsoft 75430,411 (X)
  3868.  
  3869. .. well, that makes sense. I was hoping it wasn't just arbitrary ;-)
  3870.  
  3871. JS
  3872.  
  3873. #: 16635 S6/API-Base/Security   
  3874.     04-Nov-92  14:10:18
  3875. Sb: RegQueryKeyValue
  3876. Fm: Eric Sassaman/Microsoft 75430,411
  3877. To: Marc Singer 72130,2546 (X)
  3878.  
  3879. << The function is RegQueryValue, yes.  The parameter that is a problem is
  3880. lpcb. The type of pointer is different for NT than for Win 3.1.  One is signed
  3881. and one is unsigned. >>
  3882.  
  3883. Marc, I'm looking into this to see if this can be changed to avoid this
  3884. warning in the future. I'll get back to you as soon as I hear anything more on
  3885. this. Thanks for reporting this problem to us.
  3886.  
  3887.   Eric Sassaman
  3888.   Microsoft Developer Support
  3889.  
  3890. #: 16639 S6/API-Base/Security   
  3891.     04-Nov-92  14:53:47
  3892. Sb: Atom table
  3893. Fm: Christian Betrisey 76600,1450
  3894. To: sysop (X)
  3895.  
  3896. What is the max. length of an null-terminated string I can pass to the
  3897. function GlobalAddAtom? Thank you Christian.
  3898.  
  3899. #: 16308 S6/API-Base/Security   
  3900.     01-Nov-92  14:45:00
  3901. Sb: DLL addresses
  3902. Fm: neil colvin 71650,3517
  3903. To: John Hall [MS SDE] 70750,2341 (X)
  3904.  
  3905. If my DLL builds large, interlinked, data structures (using C++ new), do I
  3906. have t write an entire new set of memory allocation routines to make all of
  3907. the allocations occur in the shared memory??  The implication is that I cannot
  3908. use any of the normal WIN32 calls (GlobalAlloc, LocalAlloc, VirtualAlloc, or
  3909. new) with this approach. What I really want is to share ALL of my data space. 
  3910. I have no need for process local storage for this DLL.  The WIN3.1 model is
  3911. perfect for the application. Is there an easy solution??
  3912.  
  3913. There are 2 Replies.
  3914.  
  3915. #: 16347 S6/API-Base/Security   
  3916.     02-Nov-92  11:00:39
  3917. Sb: #16308-DLL addresses
  3918. Fm: John Hall [MS SDE] 70750,2341
  3919. To: neil colvin 71650,3517 (X)
  3920.  
  3921. Use one process with lots of threads.
  3922. That way you can share all the data you want to.
  3923.  
  3924.  
  3925. There is 1 Reply.
  3926.  
  3927. #: 16427 S6/API-Base/Security   
  3928.     02-Nov-92  19:32:49
  3929. Sb: #16347-DLL addresses
  3930. Fm: neil colvin 71650,3517
  3931. To: John Hall [MS SDE] 70750,2341 (X)
  3932.  
  3933. I am writing a general purpose DLL which will be used by as many as 5 or 6
  3934. different applications on the same system at the same time.  It must present a
  3935. coherent data structure to them all, and all changes in it runtime data must
  3936. be reflected in all of the processes using it.  Sine 32bit DLLs running under
  3937. WIN32s have TOTAL shared data, and the WIN32s documentation says that this
  3938. behavior can be duplicated with the SAME CODE under NT, there must be someway
  3939. of doing it!!!
  3940.  
  3941. #: 16647 S6/API-Base/Security   
  3942.     04-Nov-92  15:57:49
  3943. Sb: #16308-DLL addresses
  3944. Fm: Eric Sassaman/Microsoft 75430,411
  3945. To: neil colvin 71650,3517 (X)
  3946.  
  3947. << If my DLL builds large, interlinked, data structures (using C++ new), do I
  3948. have t write an entire new set of memory allocation routines to make all of
  3949. the allocations occur in the shared memory??  The implication is that I cannot
  3950. use any of the normal WIN32 calls (GlobalAlloc, LocalAlloc, VirtualAlloc, or
  3951. new) with this approach. What I really want is to share ALL of my data space.
  3952. I have no need for process local storage for this DLL.  The WIN3.1 model is
  3953. perfect for the application. Is there an easy solution??
  3954.  
  3955. I am writing a general purpose DLL which will be used by as many as 5 or 6
  3956. different applications on the same system at the same time.  It must present a
  3957. coherent data structure to them all, and all changes in it runtime data must
  3958. be reflected in all of the processes using it.  Sine 32bit DLLs running under
  3959. WIN32s have TOTAL shared data, and the WIN32s documentation says that this
  3960. behavior can be duplicated with the SAME CODE under NT, there must be someway
  3961. of doing it!!! >>
  3962.  
  3963. Yes, there is, but there is no easy solution. You will need to use file
  3964. mapping to create and use shared memory under NT. Take a look at the overviews
  3965. for file mapping on how to do this. If you are going to be using pointers in
  3966. your shared memory, for something like a linked list, or structures with
  3967. pointers in them, you've got to use MapViewOfFileEx, which allows you to
  3968. specify a base address for the view of the file you are mapping. This will
  3969. help ensure that your pointers in your structures are valid pointers in all
  3970. processes that use this shared memory. However, it can't guarantee this
  3971. address for all processes - if that virtual address space is already begin
  3972. used in that process memory space, you've got problems.
  3973.  
  3974. It would be best to write a simple memory manager that allocates a large chunk
  3975. of shared memory then doles out smaller pieces to your application as you need
  3976. them, something similar to the run-time malloc() call.
  3977.  
  3978. I also strongly suggest that you take a look at John Hall's shrmem.zip sample
  3979. in library 10. This might fit your needs with a few tweaks here and
  3980.  
  3981. [More]
  3982.  
  3983. There is 1 Reply.
  3984.  
  3985. #: 16648 S6/API-Base/Security   
  3986.     04-Nov-92  15:57:54
  3987. Sb: #16647-DLL addresses
  3988. Fm: Eric Sassaman/Microsoft 75430,411
  3989. To: Eric Sassaman/Microsoft 75430,411 (X)
  3990.  
  3991. [Continued]
  3992.  
  3993. there.
  3994.  
  3995. Win32s is a bit out of my area of expertise - which win32s doc were you
  3996. referring to?
  3997.  
  3998.   Eric Sassaman
  3999.   Microsoft Developer Support
  4000.  
  4001. #: 16556 S6/API-Base/Security   
  4002.     03-Nov-92  22:35:19
  4003. Sb: #16220-DLL addresses
  4004. Fm: Eric Sassaman/Microsoft 75430,411
  4005. To: David Edge 75170,1461 (X)
  4006.  
  4007. << Maybe I am missing something here, but please be patient with me for a
  4008. moment. Is it not true that the DLL's data space resides within the 2GB
  4009. virtual address space of the caller?  I understand that these are virtual
  4010. addresses. Here is a scenario: process 1 loads a DLL and the DLL gets its data
  4011. space mapped at virtual addresses 10000 -  11000.  Now, process 2 starts up
  4012. and uses virtual addresses 10000 -  20000, then loads the same DLL.  How will
  4013. the DLL access its data using those same virtual addresses when they are taken
  4014. by the caller?  Does the DLL have its address space outside of the address
  4015. space of the caller?  Perhaps this seems irrelevant but I am wanting to make
  4016. extensive use of DLLs from multiple applications and I want to understand what
  4017. is going on.  Thanks. >>
  4018.  
  4019. I failed to mention this case. If the DLL can't load at it's preferred virtual
  4020. address, the loader has to make a copy of the DLL's code pages, put them
  4021. somewhere else, and fixup all references to global data in those code sections
  4022. to point to the proper shared pages. So you'll essentially wind up with
  4023. separate copies of the DLL's code, each with different virtual addresses for
  4024. each shared data item, but both pointing to the same area of physical memory.
  4025.  
  4026.   Eric Sassaman
  4027.   Microsoft Developer Support
  4028.  
  4029. #: 16288 S6/API-Base/Security   
  4030.     31-Oct-92  22:16:15
  4031. Sb: NTFS questions
  4032. Fm: KENNETH R SCHROCK 70621,1521
  4033. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  4034.  
  4035.         I am getting odd behavior in the editor I built for NT. If I load a
  4036. file into the editor, and then go to file manager and try to move or delete
  4037. the file, it says "File in use by another process".
  4038. This is fine, and as it was on the July version.
  4039.         The problem is, I get the same message for every file my editor has
  4040. touched since I started it up. It doesn't matter if the file was only
  4041. opened/closed, or if it was opened/modified/saved. It even holds for .exe,
  4042. object and other files that were created by the compiler and linker shelled
  4043. from my program. Everything is fine after I close my program. I don't know if
  4044. this is something different in this build, or because I am using NTFS this
  4045. time.
  4046.         Why does the system think these files are in use?
  4047.         I compared this to notepad, and after loading a file into note pad, I
  4048. can go to file manager and move the file. This doesn't seem optimal either, as
  4049. when you then try to save the file from notepad,  you get a "File doesn't
  4050. exist" error.
  4051.         Second problem. I modified the MANUAL.BAT and didn't load the samples
  4052. in when I installed this time. NT + SDK + MYWORK left me with 20 meg free on
  4053. the partition. Tonight I loaded all the samples, built each, and examined each
  4054. for any differences. Not finding much new, I deleted each after I was done.
  4055. All the samples are off the drive. I now only have 18 meg free. Where'd the
  4056. other 2 meg go? I added up the files in the directories and get 55 meg. On an
  4057. 80 meg partition that should leave me more than 18 meg. What happened? 
  4058.  
  4059. There is 1 Reply.
  4060.  
  4061. #: 16535 S6/API-Base/Security   
  4062.     03-Nov-92  18:56:19
  4063. Sb: #16288-NTFS questions
  4064. Fm: Bruce Ramsey/Microsoft 70324,2742
  4065. To: KENNETH R SCHROCK 70621,1521 (X)
  4066.  
  4067. Hi Kenneth  -
  4068.  
  4069. >> ...It doesn't matter if the file was only opened/closed, or if
  4070.   it was opened/modified/saved.  It even holds for .exe, object
  4071.   and other files that were created by the compiler and linker
  4072.   shelled from my program.  Everything is fine after I close my
  4073.   program.  I don't know if this is something different in this
  4074.   build, or because I am using NTFS this time
  4075.  
  4076. Since you say "this time" I assume you're seeing this on the
  4077.   October build
  4078.  
  4079. >> Why does the system think these files are in use?
  4080.  
  4081. If there are any handles open on the files this would be normal
  4082.   behavior.  It's possible a problem in the system makes it think
  4083.   there are open handles to these files, even though there are
  4084.   none (although this is not a known problem).  Do you see this
  4085.   behavior equally on both NTFS and FAT partitions?
  4086.  
  4087. >> I compared this to notepad, and after loading a file into note
  4088.   pad, I can go to file manager and move the file.  This doesn't
  4089.   seem optimal either, as when you then try to save the file from
  4090.   notepad, you get a "File doesn't exist" error
  4091.  
  4092. Notepad closes all it's handles to the file being edited after it
  4093.   uses the handle to load the file into workspace.  So, from the
  4094.   OS's point of view, Notepad retains no ownership that would keep
  4095.   the user from moving the file with file manager (or doing other
  4096.   operations to the file).  Notepad gets new handles to the file
  4097.   when the user does a save/new/exit
  4098.  
  4099. Again, are you seeing this behavior on both NTFS and FAT
  4100.   partitions, or are you seeing different behavior on NTFS versus
  4101.   FAT?
  4102.  
  4103. >> Second problem.  I modified the MANUAL.BAT and didn't load the
  4104.   samples in when I installed this time.  NT + SDK + MYWORK left
  4105.   me with 20 meg free on the partition.  Tonight I loaded all the
  4106.   samples, built each, and examined each for any differences.  Not
  4107.   finding much new, I deleted each after I was done.  All the
  4108.   samples are off the drive.  I now only have 18 meg free.
  4109.   Where'd the other 2 meg go?  I added up the files in the
  4110.   directories and get 55 meg.  On an 80 meg partition that should
  4111.  
  4112. [More]
  4113.  
  4114. There is 1 Reply.
  4115.  
  4116. #: 16536 S6/API-Base/Security   
  4117.     03-Nov-92  18:56:25
  4118. Sb: #16535-NTFS questions
  4119. Fm: Bruce Ramsey/Microsoft 70324,2742
  4120. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  4121.  
  4122. [Continued]
  4123.  
  4124.   leave me more than 18 meg.  What happened?
  4125.  
  4126. This sounds like a problem the OS file system folks will want to
  4127.   hear about over in WINNT/9/File-systems.  If you could please
  4128.   post the details on this over there, we'd apprciate it - thanks!
  4129.   I'm assumming this happened for you on an NTFS partition, but
  4130.   please clarify this for the folks in WINNT/9.  Also, if you
  4131.   haven't already noticed, "DIR C:\ /S >c.lst" is a handy way to
  4132.   get the system to add up all the files for you on the C
  4133.   partition
  4134.  
  4135. Although adding a lot of files to a partition, then deleting them
  4136.   and not recovering all the space, does sound like a file system
  4137.   issue, one other thing to check (if you haven't already) is temp
  4138.   files the compiler or linker may have failed to delete.  If you
  4139.   find temp files left around that shouldn't have been, please let
  4140.   the tools folks know in MSWIN32/7-Tools - thanks!
  4141.  
  4142. Bruce
  4143.  
  4144.  
  4145.  
  4146. There is 1 Reply.
  4147.  
  4148. #: 16657 S6/API-Base/Security   
  4149.     04-Nov-92  16:14:23
  4150. Sb: #16536-NTFS questions
  4151. Fm: KENNETH R SCHROCK 70621,1521
  4152. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  4153.  
  4154.         This was not a problem with the july build, and is not a problem under
  4155. fat. It only started happening this build, and only after I reinstalled on a
  4156. NTFS partition. My editor is a hack, open\close is Win16 functions, save is
  4157. Win32 that creates a new file. That is what makes this so strange. This is
  4158. occuring with files that only were open\closed, those that were saved, and
  4159. those created by the compiler and linker.
  4160.         I did every check I could, and can't find the 2 meg. I think it has to
  4161. be directory space for all the samples that didn't get washed when the file
  4162. left.
  4163.  
  4164. #: 16662 S6/API-Base/Security   
  4165.     04-Nov-92  17:55:22
  4166. Sb: Threads context switch
  4167. Fm: Koby 71172,2722
  4168. To: sysop (X)
  4169.  
  4170. Hi.
  4171. I ran a benchmark testing the threads context switch speed. I got a very
  4172. surprisingly results. The typical thread context switch on a 486 33Mz machine
  4173. that has not background tasks except the system, id performed in 1.3
  4174. Milliseconds. The benchmark process was based on two threads and two event
  4175. objects. The thread synchronized themselves using the event objects to perform
  4176. round robin.
  4177.  
  4178. We are trying to build a real-time application for control systems. A slow
  4179. context switch will prevent us from building fast response control system as
  4180. required by real-time control system. I wonder how we can control the context
  4181. switching time. What is the expected switch time, is it an order of
  4182. miliseconds or microsecends. By the way the same benchmark on SUN sparc system
  4183. perform hread switch in 180 micro seconds.
  4184.  
  4185. When the process is running the CPU thermometer shows 60% application 40%
  4186. Kernel. This shows me that even if we will the process priority to real-time
  4187. priority will not change to context switch time, Am I right?.
  4188. Thanks Koby.
  4189.  
  4190. #: 16327 S6/API-Base/Security   
  4191.     02-Nov-92  07:51:31
  4192. Sb: Message to other proc.
  4193. Fm: Christian Betrisey 76600,1450
  4194. To: bob landau
  4195.  
  4196.  
  4197. #: 16663 S6/API-Base/Security   
  4198.     04-Nov-92  18:32:44
  4199. Sb: #16327-Message to other proc.
  4200. Fm: Pete Grey [Microsoft] 70744,22
  4201. To: Christian Betrisey 76600,1450 (X)
  4202.  
  4203.      Christian,
  4204.  
  4205.      No text was uploaded with this post.  Could you please re-post.
  4206.  
  4207.      Thanks,
  4208.  
  4209.      -pete
  4210.  
  4211. #: 16517 S6/API-Base/Security   
  4212.     03-Nov-92  16:54:55
  4213. Sb: _CRT_INIT not in CRTDLL
  4214. Fm: John Stoddard 72400,2551
  4215. To: sysop (X)
  4216.  
  4217. When I got the October SDK, I read on page 31 of the Win32 SDK Release Notes
  4218. that "If you need to call C-Runtime functions in a DLL, then the entry point
  4219. for the .DLL must be _CRT_INIT. ... If you have your own entry point, then you
  4220. must call the _CRT_INIT function with the same parameters that were passed to
  4221. your entry point".
  4222.  
  4223. Each of my .DLLs has a LibMain, which is the entry point - this was a
  4224. requirement in the July SDK.  I tried calling _CRT_INIT from LibMain, with the
  4225. same parameters.  I get an unresolved external. Same thing if I code
  4226. "CRT_INIT" instead of "_CRT_INIT".  I did a hex dump of all of your libraries,
  4227. and I see a _CRT_INIT entry point only in LIBC and LIBCMT, not CRTDLL, which
  4228. is what I'm linking to.
  4229.  
  4230. 1) Is LibMain still needed? 2) Should I not try to call _CRT_INIT if I link to
  4231. CRTDLL? 3) Is it better if I link my .DLLs to LIBCMT?
  4232.  
  4233. Thanks, John Stoddard Micro Decisionware
  4234.  
  4235. There are 2 Replies.
  4236.  
  4237. #: 16559 S6/API-Base/Security   
  4238.     04-Nov-92  00:04:10
  4239. Sb: #16517-_CRT_INIT not in CRTDLL
  4240. Fm: Eric Sassaman/Microsoft 75430,411
  4241. To: John Stoddard 72400,2551 (X)
  4242.  
  4243. << 1) Is LibMain still needed? 2) Should I not try to call _CRT_INIT if I link
  4244. to CRTDLL? 3) Is it better if I link my .DLLs to LIBCMT? >>
  4245.  
  4246. John, the release notes failed to mention that calling _CRT_INIT is
  4247. unnecessary if you are using crtdll.lib. This is because the run-time gets
  4248. initialized on the process/thread attach in crtdll.dll's entry point - it's
  4249. all done for you automagically when using crtdll.dll. There is no need to
  4250. explicitly call _CRT_INIT in your DLL's code.
  4251.  
  4252.   Eric Sassaman
  4253.   Microsoft Developer Support
  4254.  
  4255.  
  4256.  
  4257. There is 1 Reply.
  4258.  
  4259. #: 16608 S6/API-Base/Security   
  4260.     04-Nov-92  11:18:29
  4261. Sb: #16559-_CRT_INIT not in CRTDLL
  4262. Fm: John Stoddard 72400,2551
  4263. To: Eric Sassaman/Microsoft 75430,411 (X)
  4264.  
  4265. That's what I figured, but I wanted to get some comfirmation. Thanks! BTW, is
  4266. there any particular reason to use or not use CRTDLL? Do I gain anything? lose
  4267. anything?
  4268.  
  4269. John
  4270.  
  4271. There are 2 Replies.
  4272.  
  4273. #: 16666 S6/API-Base/Security   
  4274.     04-Nov-92  18:35:33
  4275. Sb: #16608-_CRT_INIT not in CRTDLL
  4276. Fm: Eric Sassaman/Microsoft 75430,411
  4277. To: John Stoddard 72400,2551
  4278.  
  4279. << That's what I figured, but I wanted to get some comfirmation. Thanks! BTW,
  4280. is there any particular reason to use or not use CRTDLL? Do I gain anything?
  4281. lose anything? >>
  4282.  
  4283. The nice thing abouit crtdll.dll is that you can have one copy of the C
  4284. run-time for any .exe and associated .dll's that link to it. Cuts down on code
  4285. size. It also enables you to share run-time resources between an .exe and a
  4286. .dll, for instance, open a stream handle in the .exe an pass it to the
  4287. dll for processing. If you link both the .exe and .dll with libcxxx.lib, they
  4288. both have separate copies of the run-time, and you can't mix run-time
  4289. resources between them like that. Another gotcha is allocating memory in one
  4290. module and passing to another to be freed, like you might do with some type of
  4291. uer-defined IPC mechanism. Allocate a packet, stuff it, send it to a DLL, the
  4292. DLL frees it. Unfortunately, if you're using separate copies of the run-time
  4293. data, a nulclear explosion will result. If, however, both modules are using
  4294. crtdll.dll, only one copy of the run-time resources is involved, so this type
  4295. of resource sharing will work.
  4296.  
  4297.   Eric Sassaman
  4298.   Microsoft Developer Support
  4299.  
  4300. #: 16693 S6/API-Base/Security   
  4301.     04-Nov-92  21:57:32
  4302. Sb: #16608-_CRT_INIT not in CRTDLL
  4303. Fm: John Hall [MS SDE] 70750,2341
  4304. To: John Stoddard 72400,2551
  4305.  
  4306. >> Do I lose anything?
  4307.  
  4308. ctype.h function macros like isalpha() are not currently in crtdll
  4309.  
  4310. #: 16584 S6/API-Base/Security   
  4311.     04-Nov-92  09:36:41
  4312. Sb: #16517-_CRT_INIT not in CRTDLL
  4313. Fm: dan white 70324,3147
  4314. To: John Stoddard 72400,2551 (X)
  4315.  
  4316.  
  4317. John, I've been wondering about the same thing.  I notice that the TLS sample
  4318. program in the SDK does not call _CRT_INIT.
  4319.  
  4320.                                --Dan
  4321.  
  4322.  
  4323.  
  4324. There is 1 Reply.
  4325.  
  4326. #: 16611 S6/API-Base/Security   
  4327.     04-Nov-92  11:24:11
  4328. Sb: #16584-_CRT_INIT not in CRTDLL
  4329. Fm: John Stoddard 72400,2551
  4330. To: dan white 70324,3147 (X)
  4331.  
  4332. The samples are a real life-saver. I'm always a lot more confident when I can
  4333. see working code illustrating something, rather than reading about it in some
  4334. manual.  Good work including these, Microsoft.
  4335.  
  4336. JS
  4337.  
  4338. There is 1 Reply.
  4339.  
  4340. #: 16667 S6/API-Base/Security   
  4341.     04-Nov-92  18:35:37
  4342. Sb: #16611-_CRT_INIT not in CRTDLL
  4343. Fm: Eric Sassaman/Microsoft 75430,411
  4344. To: John Stoddard 72400,2551
  4345.  
  4346. << The samples are a real life-saver. I'm always a lot more confident when I
  4347. can see working code illustrating something, rather than reading about it in
  4348. some manual.  Good work including these, Microsoft. >>
  4349.  
  4350. Thanks for your compliments. We're glad to hear that the samples we wrote were
  4351. helpful. I'll pass your compliments on to the rest of the team. Thanks!
  4352.  
  4353.   Eric Sassaman
  4354.   Microsoft Developer Support
  4355.  
  4356. #: 16575 S6/API-Base/Security   
  4357.     04-Nov-92  07:09:06
  4358. Sb: Shared Memory Question
  4359. Fm: Andrew Potter 71075,614
  4360. To: all
  4361.  
  4362. Here's a shared memory question.
  4363.  
  4364. I've found some documentation regarding shared memory under NT and was
  4365. successful in getting 2 processes to initialize and use the same shared
  4366. memory.  I used CreateFileMapping, MapViewOfFile, CloseHandle and found
  4367. documentation for OpenFileMapping, CreateFile, ReadFile, and WriteFile.  Is
  4368. this the entire list?  There doesn't seem to be a key associated with the file
  4369. mapping object, only a name.  Is this true? Here's my problem:
  4370.  
  4371. I have several executables in my application all of which communicate via
  4372. shared memory.  I should clarify this.  The user sees this product as 1
  4373. application.  The user doesn't realize that it's really several executables
  4374. communicating among one another.  If I start up the 'application', the
  4375. controlling executable creates the shared memory segment and all other
  4376. executables attach to the segment.  If I wanted to start up the 'application'
  4377. a second time in the NT world, the controlling executable would connect to the
  4378. shared memory segment from the first invocation of the application.  Is there
  4379. a way for my controlling executable to get a name at runtime via some system
  4380. call that would be different for each invocation of the application?  I can
  4381. probably come up with some kludgy way to do this but it would be nice if there
  4382. were a nice system call I could make????
  4383.  
  4384. Thanks,
  4385.  
  4386.     Andrew
  4387.  
  4388. There is 1 Reply.
  4389.  
  4390. #: 16694 S6/API-Base/Security   
  4391.     04-Nov-92  22:02:59
  4392. Sb: #16575-Shared Memory Question
  4393. Fm: John Hall [MS SDE] 70750,2341
  4394. To: Andrew Potter 71075,614 (X)
  4395.  
  4396. Suggestions:
  4397. 1) look up shrmem.zip.  You won't want to do things that way but
  4398.    it should be helpful.  It is in the library for 'Porting from OS/2'
  4399. 2) consider making this one exe with multiple threads.  then you
  4400.    wouldn't have to mess with shared memory at all.
  4401. 3) In Shrmem you will notice I hit the registry on Process Attach.
  4402.    You could probably place legacy information in the registry
  4403.    and get some of what you want, just an idea.
  4404.  
  4405. #: 16622 S6/API-Base/Security   
  4406.     04-Nov-92  13:20:21
  4407. Sb: MapViewOfFileEx
  4408. Fm: Kent Cedola - Kitware 72230,1451
  4409. To: SYSOP (X)
  4410.  
  4411. Has anyone (including the fine folks at Microsoft) got MapViewOfFileEx to work
  4412. between two (or more) processes with shared memory at the same address? If so,
  4413. what address did you use?  I keep getting an error 8 on the second
  4414. MapViewOfFileEx() API.
  4415.  
  4416. Thanks, Kent
  4417.  
  4418. There is 1 Reply.
  4419.  
  4420. #: 16695 S6/API-Base/Security   
  4421.     04-Nov-92  22:06:19
  4422. Sb: #16622-MapViewOfFileEx
  4423. Fm: John Hall [MS SDE] 70750,2341
  4424. To: Kent Cedola - Kitware 72230,1451 (X)
  4425.  
  4426. Porting from OS/2 Library: shrmem.zip
  4427.  
  4428. By default I use 16Mb, though it is registry configurable.
  4429.  
  4430. You can create a 'virtual memory snooper' by looping through all
  4431. your virtual memory blocks.  One of the Virtual*() functions will
  4432. give you details.  It is how I picked my default, along with other
  4433. notes in the readme's in shrmem.zip.
  4434.  
  4435. #: 16447 S6/API-Base/Security   
  4436.     03-Nov-92  05:47:47
  4437. Sb: IO Control
  4438. Fm: Dan Sullivan 76327,1534
  4439. To: SYSOP (X)
  4440.  
  4441. I would like to make use of the IO Control funtions to manipulate floppies in
  4442. my applications. Will this capability be added to NT for the final release?
  4443. When will it be available to developers? Will complete IO Control
  4444. functionality be provided? Will existing DOS app's that make use of IO Control
  4445. for floppies be supported?
  4446.  
  4447. This lack of IO Control is the only fly in the ointment for the large NT app
  4448. we are in the process of developing. We must be able to write floppies in
  4449. non-DOS formats. We are faced with having our users reboot DOS or have a
  4450. separate DOS system to write these floppies. Needless to say neither is really
  4451. a desirable solution.
  4452.  
  4453. Thanks in advance Dan
  4454.  
  4455. There is 1 Reply.
  4456.  
  4457. #: 16665 S6/API-Base/Security   
  4458.     04-Nov-92  18:32:58
  4459. Sb: #16447-IO Control
  4460. Fm: Pete Grey [Microsoft] 70744,22
  4461. To: Dan Sullivan 76327,1534 (X)
  4462.  
  4463. >> I would like to make use of the IO Control funtions to manipulate floppies
  4464. in my applications. Will this capability be added to NT for the final release?
  4465. When will it be available to developers? Will complete IO Control
  4466. functionality be provided? Will existing DOS app's that make use of IO Control
  4467. for floppies be supported? This lack of IO Control is the only fly in the
  4468. ointment for the large NT app we are in the process of developing. We must be
  4469. able to write floppies in non-DOS formats. We are faced with having our users
  4470. reboot DOS or have a separate DOS system to write these floppies. Needless to
  4471. say neither is really a desirable solution. <<
  4472.  
  4473. It is possible to open a floppy for direct reads and writes by doing a
  4474. CreateFile("\\\\.\\a:",.....).  This will allow you to use ReadFile() and
  4475. WriteFile() to do transfer data from/to the floppy in chunks at offsets. I
  4476. believe this will be going into VDM support as well.
  4477.  
  4478. -pete
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484. There is 1 Reply.
  4485.  
  4486. #: 16703 S6/API-Base/Security   
  4487.     05-Nov-92  04:28:52
  4488. Sb: #16665-IO Control
  4489. Fm: Dan Sullivan 76327,1534
  4490. To: Pete Grey [Microsoft] 70744,22 (X)
  4491.  
  4492. I don't think that this will work for what we want to do, but I don't know all
  4493. the details, I will not be writing this portion of our app. However I don't
  4494. think this would allow us to work with disk with sector sizes other than some
  4495. default assummed by NT or that might be interleaved in some strange fashion.
  4496. It seems like allowing IO Control for floppies could be done without violating
  4497. any of the security provisions for NT.
  4498.  
  4499. I am sure your work around would work for some cases, but my question remains,
  4500. what is the status of IO Control for floppies in NT, especially the DOS
  4501. subsystem?
  4502.  
  4503. Thanks Dan
  4504.  
  4505. #: 16363 S6/API-Base/Security   
  4506.     02-Nov-92  13:04:05
  4507. Sb: Shared mem. question
  4508. Fm: Megatronics, Inc. 74020,2170
  4509. To: SYSOP (X)
  4510.  
  4511. Hi there.
  4512.  
  4513.   I'm trying to prepare for Windows/NT today figuring I'll save myself some
  4514.   effort later.  Along these lines, can you give me some details on how
  4515.   Windows/NT handles shared memory?  I know in Windows 3.1 that a pointer is
  4516.   a pointer -- all applications share a single LDT.  What about NT?  Thanks
  4517.   in advance.
  4518.  
  4519. John
  4520.  
  4521. There is 1 Reply.
  4522.  
  4523. #: 16481 S6/API-Base/Security   
  4524.     03-Nov-92  11:57:49
  4525. Sb: #16363-Shared mem. question
  4526. Fm: Pete Grey [Microsoft] 70744,22
  4527. To: Megatronics, Inc. 74020,2170 (X)
  4528.  
  4529. >> I'm trying to prepare for Windows/NT today figuring I'll save myself some
  4530.   effort later.  Along these lines, can you give me some details on how
  4531.   Windows/NT handles shared memory?  I know in Windows 3.1 that a pointer is
  4532.   a pointer -- all applications share a single LDT.  What about NT?  Thanks
  4533.   in advance. <<
  4534.  
  4535. In Win32/NT, each process is in its own address space and therefore cannot
  4536. share memory in the old Win31 fashion.  Memory must be mapped into each
  4537. process' space in order to have shared memory.  The shared memory overview
  4538. details this.
  4539.  
  4540. -pete
  4541.  
  4542.  
  4543.  
  4544.  
  4545.  
  4546.  
  4547.  
  4548.  
  4549. There is 1 Reply.
  4550.  
  4551. #: 16490 S6/API-Base/Security   
  4552.     03-Nov-92  13:25:07
  4553. Sb: #16481-Shared mem. question
  4554. Fm: Megatronics, Inc. 74020,2170
  4555. To: Pete Grey [Microsoft] 70744,22 (X)
  4556.  
  4557. Pete
  4558.  
  4559.   >> The shared memory overview details this.
  4560.  
  4561.   Not to sound silly, but where would I locate this?  I have the Developer's
  4562.   Network CD, and I haven't got it up and running yet -- will I find it
  4563.   there?  If not, please advise.  Thanks for the reply.
  4564.  
  4565. John
  4566.  
  4567. There is 1 Reply.
  4568.  
  4569. #: 16643 S6/API-Base/Security   
  4570.     04-Nov-92  15:52:06
  4571. Sb: #16490-Shared mem. question
  4572. Fm: Pete Grey [Microsoft] 70744,22
  4573. To: Megatronics, Inc. 74020,2170 (X)
  4574.  
  4575. >> Not to sound silly, but where would I locate this?  I have the Developer's
  4576.   Network CD, and I haven't got it up and running yet -- will I find it
  4577.   there?  If not, please advise. <<
  4578.  
  4579. Yes, they are on there, but these are the old version (July release).  The
  4580. newest help files are on the Oct. release of the SDK.
  4581.  
  4582. -pete
  4583.  
  4584.  
  4585.  
  4586.  
  4587.  
  4588. There is 1 Reply.
  4589.  
  4590. #: 16707 S6/API-Base/Security   
  4591.     05-Nov-92  05:42:11
  4592. Sb: #16643-Shared mem. question
  4593. Fm: Megatronics, Inc. 74020,2170
  4594. To: Pete Grey [Microsoft] 70744,22 (X)
  4595.  
  4596. Ah.  I didn't realize the CD files were that out of date.  I guess I'll have
  4597. to check into the Oct. SDK release.
  4598.  
  4599. John
  4600.  
  4601. #: 16709 S6/API-Base/Security   
  4602.     05-Nov-92  06:59:16
  4603. Sb: MFC Comm Dlgs
  4604. Fm: Trip Tucker 76054,2250
  4605. To: Sysop (X)
  4606.  
  4607. It seems that there are still some problems with the Print Common Dialog and
  4608. MFC in the new release.  While this worked with the previous release, the
  4609. dialog does not initialize with the correct page numbers from the structure
  4610. and then does not return with the page numbers that were set.
  4611.  
  4612. The Font Dialog worked with the last release, but now tells you that there are
  4613. no fonts installed for the printer.  This is the same code that works for
  4614. WIN16 and worked with the July release.
  4615.  
  4616. Have you seen this?  Trip. 
  4617.  
  4618. #: 16548 S6/API-Base/Security   
  4619.     03-Nov-92  21:36:08
  4620. Sb: #16198-GlobalSize fails on dlg
  4621. Fm: Eric Sassaman/Microsoft 75430,411
  4622. To: Len Gray 71630,1703 (X)
  4623.  
  4624. << The code that I have been using to checksum a dialog is now failing under
  4625. Windows NT (Oct). This code works fine under Windows 3.1.  Under Windows NT, I
  4626. seem to be getting values back for my find, load, and lock calls.  The
  4627. GlobalSize, however, returns 0. >>
  4628.  
  4629. Len, I'm looking into this problem and will get back to you as soon as I can
  4630. get some more information on this. Thanks!
  4631.  
  4632.   Eric Sassaman
  4633.   Microsoft Developer Support
  4634.  
  4635. #: 16668 S6/API-Base/Security   
  4636.     04-Nov-92  18:35:43
  4637. Sb: #16198-GlobalSize fails on dlg
  4638. Fm: Eric Sassaman/Microsoft 75430,411
  4639. To: Len Gray 71630,1703 (X)
  4640.  
  4641. << The code that I have been using to checksum a dialog is now failing under
  4642. Windows NT (Oct). Under Windows NT, I seem to be getting values back for my
  4643. find, load, and lock calls.  The GlobalSize, however, returns 0. >>
  4644.  
  4645. The problem is that the underlying resource object returned by LoadResource is
  4646. not compatible with a memory object. Calling GlobalSize on resource handles
  4647. worked under 3.1 because these objects were in fact implemented as
  4648. GlobalAlloc'd blocks of memory. This kind of object type casting is depending
  4649. on implementation specific behavior that was subject to change, which it has
  4650. under Win32. There are some similar issues with certain GDI objects, from what
  4651. I understand.
  4652.  
  4653. Best to turn on STRICT and make sure that you're not mixing types like this.
  4654. This will help you catch incompatible types being used in this way.
  4655.  
  4656.   Eric Sassaman
  4657.   Microsoft Developer Support
  4658.  
  4659.  
  4660.  
  4661. There is 1 Reply.
  4662.  
  4663. #: 16711 S6/API-Base/Security   
  4664.     05-Nov-92  07:22:25
  4665. Sb: #16668-GlobalSize fails on dlg
  4666. Fm: Len Gray 71630,1703
  4667. To: Eric Sassaman/Microsoft 75430,411 (X)
  4668.  
  4669. Thank you for your research and explanation, Eric.  Checksumming the dialog is
  4670. important to insure that the original copyright and registration request
  4671. remains on the shareware that I produce.  Resource editors readily available
  4672. to the public make it too easy for this information to be changed inside a
  4673. Windows application.
  4674.  
  4675. If you could suggest the proper way to examine a dialog resource at runtime
  4676. under Windows NT I would appreciate it very much.
  4677.  
  4678. Thanks, Eric.
  4679.  
  4680.  
  4681.     Len
  4682.  
  4683. #: 16296 S6/API-Base/Security   
  4684.     01-Nov-92  10:05:47
  4685. Sb: Setting comm queue sizes
  4686. Fm: Jeff Thomson 71460,3222
  4687. To: All
  4688.  
  4689. Under Win 3.x, the size of the transmit & receive queues for the comm port
  4690. are specified as arguments to the OpenComm() function. Under NT, the size of
  4691. the queues can be queried with the GetCommProperties() function, but there
  4692. appears to be no way to set the size of the queues.
  4693.  
  4694. Is there an API function under NT which allows one to specify the size of
  4695. the transmit and receive queues, or are they of fixed size ?
  4696.  
  4697. Thanks,
  4698.  
  4699.        -- Jeff
  4700.  
  4701.  
  4702.  
  4703. There is 1 Reply.
  4704.  
  4705. #: 16547 S6/API-Base/Security   
  4706.     03-Nov-92  21:36:03
  4707. Sb: #16296-Setting comm queue sizes
  4708. Fm: Eric Sassaman/Microsoft 75430,411
  4709. To: Jeff Thomson 71460,3222 (X)
  4710.  
  4711. << Under Win 3.x, the size of the transmit & receive queues for the comm port
  4712. are specified as arguments to the OpenComm() function. Under NT, the size of
  4713. the queues can be queried with the GetCommProperties() function, but there
  4714. appears to be no way to set the size of the queues.
  4715.  
  4716. Is there an API function under NT which allows one to specify the size of the
  4717. transmit and receive queues, or are they of fixed size ? >>
  4718.  
  4719. You can give suggested buffer sizes with the SetupComm API.
  4720.  
  4721.   Eric Sassaman
  4722.   Microsoft Developer Support
  4723.  
  4724.  
  4725.  
  4726. There is 1 Reply.
  4727.  
  4728. #: 16712 S6/API-Base/Security   
  4729.     05-Nov-92  07:36:43
  4730. Sb: #16547-Setting comm queue sizes
  4731. Fm: Jeff Thomson 71460,3222
  4732. To: Eric Sassaman/Microsoft 75430,411 (X)
  4733.  
  4734. Eric,
  4735.  
  4736. > You can give suggested buffer sizes with the SetupComm API.
  4737.  
  4738. That's just what I was looking for. Thanks.
  4739.  
  4740.         -- Jeff
  4741.  
  4742. #: 16629 S6/API-Base/Security   
  4743.     04-Nov-92  13:37:33
  4744. Sb: hel
  4745. Fm: Rob Tessier 76666,3633
  4746. To: all
  4747.  
  4748. Are POSIX apps written to a specific API set that excludes the Win32 APIs? The
  4749. sample POSIX app that came with the Oct SDK makes no Win32 API calls. Is that
  4750. the idea?  If so, what is the GUI for POSIX apps?  Or are POSIX apps treated
  4751. like DOS apps, they run in a windows but don't actually directly call into
  4752. Win32?
  4753.  
  4754. Rob
  4755.  
  4756. There is 1 Reply.
  4757.  
  4758. #: 16664 S6/API-Base/Security   
  4759.     04-Nov-92  18:32:50
  4760. Sb: #16629-hel
  4761. Fm: Pete Grey [Microsoft] 70744,22
  4762. To: Rob Tessier 76666,3633 (X)
  4763.  
  4764. >> Are POSIX apps written to a specific API set that excludes the Win32 APIs?
  4765. The sample POSIX app that came with the Oct SDK makes no Win32 API calls. Is
  4766. that the idea?  If so, what is the GUI for POSIX apps?  Or are POSIX apps
  4767. treated like DOS apps, they run in a windows but don't actually directly call
  4768. into Win32? <<
  4769.  
  4770. There are no cross-subsystem calls allowed at all, be it from POSIX to Win32
  4771. or DOS to Win32 or Win32 to DOS, etc.  This would limit POSIX applications to
  4772. character mode running in a window.
  4773.  
  4774. -pete
  4775.  
  4776.  
  4777.  
  4778.  
  4779. There is 1 Reply.
  4780.  
  4781. #: 16731 S6/API-Base/Security   
  4782.     05-Nov-92  12:18:40
  4783. Sb: #16664-hel
  4784. Fm: Rob Tessier 76666,3633
  4785. To: Pete Grey [Microsoft] 70744,22 (X)
  4786.  
  4787. Thanks, that is what I suspected all along.  --  RPT
  4788.  
  4789. #: 16823 S6/API-Base/Security   
  4790.     06-Nov-92  11:01:49
  4791. Sb: Queues in NT
  4792. Fm: Poul Erik Hansen 70642,2047
  4793. To: SYSOP (X)
  4794.  
  4795. Hi:
  4796.  
  4797. I could not find any Queues API in Win32. Are named pipes the only way to
  4798. implement message queues in NT?
  4799.  
  4800. Thanks,
  4801.  
  4802. --Prashant
  4803.  
  4804. #: 16778 S6/API-Base/Security   
  4805.     05-Nov-92  17:57:19
  4806. Sb: InvalidRect problem
  4807. Fm: David Arathorn 70412,2772
  4808. To: ms
  4809.  
  4810.  
  4811. #: 16840 S6/API-Base/Security   
  4812.     06-Nov-92  13:38:09
  4813. Sb: #16778-InvalidRect problem
  4814. Fm: Pete Grey [Microsoft] 70744,22
  4815. To: David Arathorn 70412,2772 (X)
  4816.  
  4817. David,
  4818.  
  4819. No text was sent with your message.  Please re-send, but judging from the
  4820. title, it looks as if this is either a USER or GDI type query, so it needs to
  4821. go to the appropriate section.
  4822.  
  4823. Thanks,
  4824.  
  4825. -pete
  4826.  
  4827. #: 16867 S6/API-Base/Security   
  4828.     06-Nov-92  17:11:47
  4829. Sb: TCPIP problems
  4830. Fm: Joseph E. Greer 70253,3130
  4831. To: Joe Greer 70253,3130
  4832.  
  4833. I have recently installed the October Windows/NT.  I recompiled a program that
  4834. I used with the july release to transfer files from our unix system to the
  4835. micro running NT via a TCPIP interface.  I was surprised to discover that the
  4836. program now runs only 15 min (functioning correctly) before the system hangs. 
  4837. Has anyone else encountered a problem like this?  If so, how did you get
  4838. around it?  This program I mentioned is rather central to our product
  4839. generation process and could really use a work around.
  4840.  
  4841. PS
  4842.         I did notice that the services are now called TCPIP and TELNET
  4843. (contrary to the release notes)
  4844.  
  4845.                                                 -- Joe
  4846.  
  4847.  
  4848.  
  4849.  
  4850. #: 16281 S7/Tools-Microsoft   
  4851.     31-Oct-92  14:16:50
  4852. Sb: Dialog Editor- !Win32
  4853. Fm: Jake Kirk 76207,1403
  4854. To: SYSOP (X)
  4855.  
  4856. I am getting the following error message when I read my RES file into the
  4857. dialog editor- "test.res is not a valid Win32 format resource file."
  4858.  
  4859. Is something wrong with my nmake makefile file?  I think it is OK.
  4860. Here are the 3 files necessary to recreate the problem:
  4861. nmake 'makefile' as follows:
  4862. -----------------------------
  4863.  
  4864.  
  4865. #: 16299 S7/Tools-Microsoft   
  4866.     01-Nov-92  12:06:28
  4867. Sb: #16258-C++ syntax errors?
  4868. Fm: Julie Solon [Microsoft] 71075,107
  4869. To: Bill Cohagan 74375,313 (X)
  4870.  
  4871. Bill,
  4872.  
  4873. You are welcome.  I appreciate you narrowing your code and confirming that we
  4874. are receiving the same error messages. We are passing compiler problems on as
  4875. fast as we can. I will get back to you when I know more.
  4876.  
  4877. Julie Solon Microsoft Developer Support
  4878.  
  4879. #: 16300 S7/Tools-Microsoft   
  4880.     01-Nov-92  12:06:35
  4881. Sb: _CRT_INIT failure
  4882. Fm: Julie Solon [Microsoft] 71075,107
  4883. To: Ted C. Ho 73310,150 (X)
  4884.  
  4885. Ted,
  4886.  
  4887. I assume that you are just trying to compile this single-threaded application
  4888. as if it were a multi-threaded application - i.e., you changed only switches,
  4889. not code.
  4890.  
  4891. First, I tested the code with the existing makefile.  When I exited WinDbg, I
  4892. received an access violation.  Next, I made the following changes
  4893.  
  4894.    compiled select with -D_MT, demo with -D_MT
  4895.    linked select with $(guilibsdll), demo with $(guilibsmt)
  4896.  
  4897. The resulting behavior didn't seem any different than before.  Finally, I
  4898. changed the entry point as you had done to -entry:_CRT_INIT@12.  Again, I get
  4899. the access violation when exiting WinDbg.
  4900.  
  4901. I will look into this problem that I am seeing with the unmodified sample. If
  4902. you are seeing different symptoms... like everything works as it should
  4903. unmodified (but not any other way) or the access violation happens any other
  4904. time but at exit of WinDbg, let me know.  In that event, we would need to
  4905. narrow down cause and effect so that I can understand and reproduce exactly
  4906. what you are seeing here.
  4907.  
  4908. Thank you for your report,
  4909.  
  4910. Julie Solon Microsoft Developer Support
  4911.  
  4912. #: 16301 S7/Tools-Microsoft   
  4913.     01-Nov-92  12:06:40
  4914. Sb: Compiler Bug
  4915. Fm: Julie Solon [Microsoft] 71075,107
  4916. To: David J. Plunkett 71163,2122
  4917.  
  4918. David,
  4919.  
  4920. Thank you for reporting this problem.  I was able to reproduce it (the only
  4921. thing I did was change %f to %lf where you were printing doubles).
  4922.  
  4923. There does seem to be a growing number of problem reports against this
  4924. compiler.  We are attempting to track them down and get out work-arounds and
  4925. fixes.  I will file a report right away and post more information as it
  4926. becomes available.
  4927.  
  4928. Thanks,
  4929.  
  4930. Julie Solon Microsoft Developer Support
  4931.  
  4932. #: 16306 S7/Tools-Microsoft   
  4933.     01-Nov-92  13:52:36
  4934. Sb: #16227-fatal compiler error
  4935. Fm: Julie Solon [Microsoft] 71075,107
  4936. To: Orin Eman 71102,705 (X)
  4937.  
  4938. Orin,
  4939.  
  4940. There have been postings on this error occuring with the October compiler and
  4941. not the July compiler.  Unfortunately, sometimes when known problems are
  4942. fixed, others crop up.  We are very interested in receiving test cases and
  4943. pursuing these problems.  We have a sample of this particular error, so
  4944. hopefully, in fixing the compiler for one test case, we will fix it for most
  4945. others.  If you could submit a reasonably sized test case, with compiler
  4946. options and whatever work-arounds you find, we would be happy to look into it.
  4947.  
  4948.  
  4949. Julie Solon
  4950.  
  4951. Microsoft Developer Support
  4952.  
  4953. #: 16305 S7/Tools-Microsoft   
  4954.     01-Nov-92  13:52:30
  4955. Sb: Fatal Compiler Error
  4956. Fm: Julie Solon [Microsoft] 71075,107
  4957. To: Bill Cohagan 74375,313 (X)
  4958.  
  4959. Bill,
  4960.  
  4961. Thank you for your efforts in narrowing down the code.  I could not find any
  4962. minor code or compile option changes that would work around the problem
  4963. immediately.  I will report this problem right away and I will let you know
  4964. what happens.
  4965.  
  4966.  
  4967. Thanks,
  4968.  
  4969. Julie Solon Microsoft Developer Support
  4970.  
  4971.  
  4972.  
  4973.  
  4974. There is 1 Reply.
  4975.  
  4976. #: 16325 S7/Tools-Microsoft   
  4977.     02-Nov-92  07:25:30
  4978. Sb: #16305-Fatal Compiler Error
  4979. Fm: Bill Cohagan 74375,313
  4980. To: Julie Solon [Microsoft] 71075,107 (X)
  4981.  
  4982. Julie-
  4983.   Thanks for looking into this.  This compiler error has brought me to a stop
  4984. on this project -- so a rapid fix/workaround would be *greatly* appreciated.
  4985.  
  4986. Thanks,
  4987.  Bill
  4988.  
  4989. #: 16353 S7/Tools-Microsoft   
  4990.     02-Nov-92  11:53:49
  4991. Sb: #16257-Oct/July NT coexist?
  4992. Fm: Colin Stuart [Microsoft] 70744,25
  4993. To: Bill Cohagan 74375,313 (X)
  4994.  
  4995. Bill, You can install both the July and October versions of Win32/NT on one
  4996. drive, with the following considerations:
  4997.  
  4998.  -Place them in separate directories.  :)
  4999.  -If you installed NT with the CD setup, BOOT.INI will use the
  5000. SCSI()disk()rdisk()partition(n)\... notation, which requires the SCSI miniport
  5001. driver C:\NTBOOTDD.SYS, which differs between the July and October releases. 
  5002. You can most likely replace this with normal DOS paths (i.e. c:\nt...) in
  5003. BOOT.INI, depending on how your partitions are set up (if both are in the
  5004. first partition of your first drive, there should be no difficulties).  Doing
  5005. this would alleviate the need for NTBOOTDD.SYS.  If this prodcedure fails, you
  5006. must first boot into DOS and copy the appropriate NTBOOTDD.SYS to the root
  5007. before switching between versions of Win32/NT.
  5008.  
  5009.  Colin
  5010.  
  5011. #: 16358 S7/Tools-Microsoft   
  5012.     02-Nov-92  12:16:32
  5013. Sb: WinDbg
  5014. Fm: Howard Myers 76711,462
  5015. To: Paul Tissue [Microsoft] 70744,24 (X)
  5016.  
  5017. I've solved both problems!
  5018.  
  5019. The file that wouldn't load into WinDbg at all was because a line was too
  5020. long. There was a comment that went out to column 228.  WinDbg apparently
  5021. won't load any files that have line(s) beyond about 200 columns.
  5022.  
  5023. The file that would load but wouldn't allow me to set any breakpoints was
  5024. named UTIL.C.  This must be reserved for WinDbg.  The exact same file renamed
  5025. as UTIL0.C, works fine.
  5026.  
  5027. It would be nice if the tools/documentation gave some warning about things of
  5028. this nature.  Particularly the long line lengths, must be hard coded into
  5029. WinDbg.  When someone writes code like this, why don't they add just one line
  5030. of code to pop up a message dialog that tells us why they won't load it;
  5031. instead of doing absolutely nothing and leaving us totally perplexed?
  5032.  
  5033. The UTIL.C problem isn't as clear that it's in the code and could have been
  5034. flagged, however, it seems like it almost would have had to have been coded
  5035. that way to exclude just one file name. Who knows?
  5036.  
  5037. Hopefully, this can help other people from fighting the same problems!
  5038.  
  5039. #: 16368 S7/Tools-Microsoft   
  5040.     02-Nov-92  14:11:01
  5041. Sb: #16255-*MAJOR* bug with new rel
  5042. Fm: Colin Stuart [Microsoft] 70744,25
  5043. To: Marco Papa 70353,3446 (X)
  5044.  
  5045. Marco, The screen update speed has been considerably improved in the October
  5046. release, and I believe that product 1 will move even faster.  Glad you noticed
  5047. :)
  5048.  
  5049.  -c
  5050.  
  5051. #: 16372 S7/Tools-Microsoft   
  5052.     02-Nov-92  14:14:40
  5053. Sb: #16206-RemoveDir()
  5054. Fm: David Taniguchi [MS] 72350,2054
  5055. To: Andrew Bradnan [Erudite 70402,63 (X)
  5056.  
  5057. Hi Andrew,
  5058.   >This is a MSSETUP question, point me in the right direction if I am in
  5059.   >the wrong place.
  5060.  
  5061.   Since this is just with the API, base (section 6) would be a better place
  5062.   to ask this in the future.
  5063.  
  5064.   >IAC, using Windows NT or Windows 3.1 (16bit) setup fails on RemoveDir().
  5065.   >The directory is empty and DoesDirExist says it is there but it
  5066.   >still does not work.  It is giving me the API error not BadArg1 error.
  5067.   >The only thing I can think of is that I am in the current directory and
  5068.   >the OS is dumping on me for that.
  5069.  
  5070.   Please post a response in the base section (6), but are you trying to
  5071.   remove a directory that you are executing the setup program?
  5072.  
  5073.   Thanks,
  5074.   Dave
  5075.  
  5076. #: 16410 S7/Tools-Microsoft   
  5077.     02-Nov-92  16:46:27
  5078. Sb: Porttool
  5079. Fm: Randy Kath 72110,2014
  5080. To: Paul Tissue [Microsoft] 70744,24 (X)
  5081.  
  5082. Porting PortTool to 16bits will be a fairly easy process.  The code is basic
  5083. API code, no tricks or hacks.  The only two (major) areas where the Win32 API
  5084. is exploited is in the use of memory mapped files for sharing data between
  5085. processes that call the PORT.DLL and the background processing that was just
  5086. added in the last release.  You can omit that feature in the 16 bit Windows
  5087. version by commenting out a couple lines of code and not compiling and linking
  5088. the file PTBKPORT.C.  The memory mapped file issue is easy to solve in 16bit
  5089. land since global memory can be allocated by the DLL for all to use by default
  5090. (unlike Win32/NT
  5091.  
  5092. Paul is correct in the 30,000 character limit.  PortTool uses the standard
  5093. multiline edit control for the editor interface, so this would be a
  5094. limitation.  Yet, as an alternative, the DLL supplied with PortTool exports
  5095. the porting functionality.  Refer to the file PORT.H for more information on
  5096. how to make another application call into the DLL
  5097.  
  5098. #: 16411 S7/Tools-Microsoft   
  5099.     02-Nov-92  16:46:58
  5100. Sb: Porttool
  5101. Fm: Randy Kath 72110,2014
  5102. To: Paul Tissue [Microsoft] 70744,24 (X)
  5103.  
  5104. Continue from previous message
  5105.  
  5106. And speaking of limitations, the current version of PortTool included in the
  5107. October release of the NT SDK also has the 30,000 character limit by default
  5108. This can be fixed by simply sending the EM_LIMITTEXT message to the edit
  5109. control immeditely after creation.  Specifically, in the file PORTTOOL.C after
  5110. line 215 and before line 229 add the following line
  5111.  
  5112. SendMessage (hWndEdit, EM_LIMITTEXT, 0xFFFFFFF, 0);
  5113.  
  5114. The default behavior of the edit control is to limit text to 30,000
  5115. characters.  Yet, the edit control is capable of handling up to 0x0FFFFFFF
  5116. characters.  Also, sending the above message with a wParam value of 0 has the
  5117. same effect of allowing the maximum number of characters. Also note: the
  5118. latest documentation available at time of the October releae did not
  5119. accurately portray this edit control behavior.  It will be accurate in the
  5120. release
  5121.  
  5122. The version of PortTool found on the NT SDK has this limitation.  The version
  5123. supplied on the next Microsoft Developer Network CD will not have this
  5124. problem.  Also, in the interim you can find a fixed version of PortTool placed
  5125. in the MSDNLIB forum in section 1.  It should be placed there tonight
  5126.  
  5127. Thanks Randy Kath, Microsoft Developer Network
  5128.  
  5129. #: 16414 S7/Tools-Microsoft   
  5130.     02-Nov-92  17:00:48
  5131. Sb: #16253-problems with Oct rel.
  5132. Fm: Petrus Wong [Microsoft] 70743,3355
  5133. To: Marco Papa 70353,3446 (X)
  5134.  
  5135. Hello Marco:
  5136.  
  5137.  >>3. When compiling resources built with the Windows 3.1 dialog editor, the
  5138. NT resource compiler will break immediately when processing multiple .DLG
  5139. files that all contain an initial line of DLGINCLUDE. The July release of the
  5140. NT Resource compiler did not have this pnroblem.  Also this makes .DLG files
  5141. from Windows 3.1's Dialog Editor totally imcompatible with NT.<<
  5142.  
  5143.  There are some changes regarding the usage of DLGINCLUDE since the July PDC
  5144. build of Windows NT.  Please check out the following article for detail:
  5145.  
  5146.  
  5147.  thanks,
  5148.  petrus
  5149.  
  5150.  ps. Please post questions regarding the installation of the OS itself on the
  5151. WINNT forum.
  5152.  
  5153. -------------------------------------------------------------------------------
  5154.  Summary:
  5155.  
  5156.  The Windows 3.1 SDK Dialog Editor needs a way to know what include file is
  5157. associated with a resource file that it opens. Rather than prompt the user for
  5158. the same of the include file, the name of the include file is embedded in the
  5159. resource file in most cases.
  5160.  
  5161.  Embedding the name of the include file is done with a resource of type RCDATA
  5162. with the special name DLGINCLUDE. This resource is placed into the .res file
  5163. and contains the name of the include file. The dialog editor looks for this
  5164. resource when it loads a .res file. If it is found, then the include file is
  5165. opened also. If not, the editor prompts the user for the name of the include
  5166. file.
  5167.  
  5168.  In some Windows 3.1 build environments, the dialog editor was used to create
  5169. dialogs which were placed in more than one .dlg file. These different .dlg
  5170. files were then included in one .rc file that was compiled with the resource
  5171. compiler. So the resource file gets multiple copies of a RCDATA type resource
  5172. with the same name, DLGINCLUDE, but the resouce compiler and dialog editor do
  5173. not complain.
  5174.  
  5175.  In the Win32 Preliminary SDK, changes were made so that this resource has its
  5176. own resource type. It was changed from an RCDATA type resource with the
  5177. special name, DLGINCLUDE, to a DLGINCLUDE resource type whose name can be
  5178. specified. The dialog editor would look for resources of the type DLGINCLUDE.
  5179.  
  5180. [More]
  5181.  
  5182. There is 1 Reply.
  5183.  
  5184. #: 16415 S7/Tools-Microsoft   
  5185.     02-Nov-92  17:00:56
  5186. Sb: #16414-problems with Oct rel.
  5187. Fm: Petrus Wong [Microsoft] 70743,3355
  5188. To: Petrus Wong [Microsoft] 70743,3355 (X)
  5189.  
  5190. [Continued]
  5191.  
  5192.  
  5193.  For the October beta, there was a change made to CvtRes so that it gives an
  5194. error if it finds a resource that has the same type, name, and language as
  5195. another resource in the file. We are being stricter about the resources
  5196. needing to be unique in the Win32 SDK than the Windows 3.1 SDK. This is good,
  5197. because there was never any guarantee at run time which of the two or more
  5198. resources would be returned by LoadResource().
  5199.  
  5200.  This means that some apps being ported to Windows NT will give an error when
  5201. their resources are compiled, because they will have duplicate RCDATA type
  5202. resources with the same name (DLGINCLUDE). This error is by design. The
  5203. work-around is straightforward: delete all the DLGINCLUDE RCDATA type resource
  5204. statements from all the .dlg files.
  5205.  
  5206.  Finally, because it does not make much sense to have the DLGINCLUDE type
  5207. resources in the executable at all, CvtRes will strip them out so that they do
  5208. not get linked into the exe.
  5209.  
  5210. #: 16275 S7/Tools-Microsoft   
  5211.     31-Oct-92  09:26:04
  5212. Sb: cout??
  5213. Fm: Ben Laurie 100014,1235
  5214. To: Doug Olson Microsoft 72350,2635 (X)
  5215.  
  5216. Doug,
  5217.  
  5218. Much delayed result ... yep, using ...\MFC\?.LIB worked fine, and,
  5219. furthermore, this version of C++ did NOT display the bug that the DOS version
  5220. does.
  5221.  
  5222. Ben.
  5223.        
  5224.  
  5225. There is 1 Reply.
  5226.  
  5227. #: 16422 S7/Tools-Microsoft   
  5228.     02-Nov-92  18:49:10
  5229. Sb: #16275-cout??
  5230. Fm: Doug Olson [Microsoft] 72350,2635
  5231. To: Ben Laurie 100014,1235 (X)
  5232.  
  5233. Ben:
  5234.  
  5235. Glad to hear that it worked.
  5236.  
  5237.  Doug Olson
  5238.  Microsoft Developer Support
  5239.  
  5240. #: 16380 S7/Tools-Microsoft   
  5241.     02-Nov-92  14:52:28
  5242. Sb: #16254-problems (continued)
  5243. Fm: Petrus Wong [Microsoft] 70743,3355
  5244. To: Marco Papa 70353,3446 (X)
  5245.  
  5246. Hello Marco,
  5247.  
  5248.  >>Given the two above problems, debugging on MIPS with the October release is
  5249. practically impossible. I could only build my app by taking out both the -g2
  5250. flag from compilation and the -c flag from MIp2coff. The file got linked OK,
  5251. but of course it has no debugging info any more.  Given this, the October
  5252. release is worse than the July one as far as debugging on MIPS is concerned.<<
  5253.  
  5254.  Thanks for the bug report.  This is a known problem with "mip2coff". We are
  5255. looking into this currently.
  5256.  
  5257.  thanks,
  5258.  petrus
  5259.  
  5260.  
  5261.  
  5262. There is 1 Reply.
  5263.  
  5264. #: 16428 S7/Tools-Microsoft   
  5265.     02-Nov-92  19:36:46
  5266. Sb: #16380-problems (continued)
  5267. Fm: Marco Papa 70353,3446
  5268. To: Petrus Wong [Microsoft] 70743,3355 (X)
  5269.  
  5270. One way I was able to do some debugging ona a large program on MIPS, was to
  5271. compile *everything* without debuggingh stuff, and then one file at a time add
  5272. the -g2 and -c switches. It is really not completely useful, since you must
  5273. know the file where the problem resides, but it is better than nothing.
  5274.  
  5275. You're welcome, BTW, Petrus.  Since our Online account has expired, I'm glad
  5276. to see you her on CIS.
  5277.  
  5278. -- Marco
  5279.  
  5280. #: 16359 S7/Tools-Microsoft   
  5281.     02-Nov-92  12:26:01
  5282. Sb: WinDbg won't load source
  5283. Fm: Howard Myers 76711,462
  5284. To: Brent Ingraham (M&M) 70550,2303 (X)
  5285.  
  5286. I had the same problem.  In my case it was the result of a line of code (a
  5287. comment) that was 228 characters long.  WinDbg appears to not be able to load
  5288. any files that have a line over approx. 200 chars.  I don't know the exact
  5289. cut-off, but it is around 200. (Hardly seems like a magic number, does it?)
  5290.  
  5291. Hope this helps!
  5292.  
  5293. #: 16369 S7/Tools-Microsoft   
  5294.     02-Nov-92  14:11:05
  5295. Sb: WinDbg won't load source
  5296. Fm: Colin Stuart [Microsoft] 70744,25
  5297. To: Brent Ingraham (M&M) 70550,2303 (X)
  5298.  
  5299. Brent, I'm looking into this.
  5300.  Colin
  5301.  
  5302. #: 16487 S7/Tools-Microsoft   
  5303.     03-Nov-92  12:37:25
  5304. Sb: WinDbg won't load source
  5305. Fm: David Edge 75170,1461
  5306. To: Brent Ingraham (M&M) 70550,2303 (X)
  5307.  
  5308. I had the same problem.  After a bit of probing around, I looked at the debug
  5309. options.  Look at Options/Debug, Debug DLLs.  There is an item for the
  5310. expression evaluator.  It needs to be changed to EECXX.DLL.  That fixed the
  5311. problem for me.
  5312.  
  5313. #: 16460 S7/Tools-Microsoft   
  5314.     03-Nov-92  09:39:41
  5315. Sb: LIB discards Locals
  5316. Fm: David Manns 100112,2773
  5317. To: ALL
  5318.  
  5319. Putting C object files into a library using LIB appears to discard all the
  5320. debugging information. When you link those libraries into your app, you no
  5321. longer have access to the locals within those objects. It works okay if you
  5322. link the objects directly without putting them into a library. Is this a known
  5323. problem which will be (or has been) addressed?
  5324.   
  5325.  
  5326. There is 1 Reply.
  5327.  
  5328. #: 16489 S7/Tools-Microsoft   
  5329.     03-Nov-92  13:23:25
  5330. Sb: #16460-LIB discards Locals
  5331. Fm: Doug Olson [Microsoft] 72350,2635
  5332. To: David Manns 100112,2773
  5333.  
  5334. David:
  5335.  
  5336. For debugging information to be preserved it is necessary to use the
  5337. -DEBUGTYPE:{COFF|CV|BOTH} switch on the LIB (or COFF -LIB) command line.
  5338.  
  5339. Please let me know if you are already using this switch.
  5340.  
  5341. Sincerely,
  5342.  
  5343.  Doug Olson
  5344.  Microsoft Developer Support
  5345.  
  5346. #: 16503 S7/Tools-Microsoft   
  5347.     03-Nov-92  15:16:17
  5348. Sb: DLGINCLUDE
  5349. Fm: Colin Stuart [Microsoft] 70744,25
  5350. To: Thomas Kerr 75140,3326
  5351.  
  5352. Thomas, This posting is in regards to your bug report uploaded in the WINNT
  5353. forum. Please report other SDK bugs in this forum, and end-user bugs in the
  5354. WINNT templates.
  5355.  Thank you,
  5356.  Colin
  5357.  
  5358.  From MDKB on CIS (GO MDKB):
  5359.  Summary:
  5360.  .TITLE: INF: Use of DLGINCLUDE in Resource Files
  5361.  
  5362. The Windows 3.1 SDK Dialog Editor needs a way to know what include file is
  5363. associated with a resource file that it opens. Rather than prompt the user for
  5364. the same of the include file, the name of the include file is embedded in the
  5365. resource file in most cases.
  5366.  
  5367. Embedding the name of the include file is done with a resource of type RCDATA
  5368. with the special name DLGINCLUDE. This resource is placed into the .res file
  5369. and contains the name of the include file. The dialog editor looks for this
  5370. resource when it loads a .res file. If it is found, then the include file is
  5371. opened also. If not, the editor prompts the user for the name of the include
  5372. file.
  5373.  
  5374. In some Windows 3.1 build environments, the dialog editor was used to create
  5375. dialogs which were placed in more than one .dlg file. These different .dlg
  5376. files were then included in one .rc file that was compiled with the resource
  5377. compiler. So the resource file gets multiple copies of a RCDATA type resource
  5378. with the same name, DLGINCLUDE, but the resouce compiler and dialog editor do
  5379. not complain.
  5380.  
  5381. In the Win32 Preliminary SDK, changes were made so that this resource has its
  5382. own resource type. It was changed from an RCDATA type resource with the
  5383. special name, DLGINCLUDE, to a DLGINCLUDE resource type whose name can be
  5384. specified. The dialog editor would look for resources of the type DLGINCLUDE.
  5385.  
  5386. For the October beta, there was a change made to CvtRes so that it gives an
  5387. error if it finds a resource that has the same type, name, and language as
  5388. another resource in the file. We are being stricter about the resources
  5389. needing to be unique in the Win32 SDK than the Windows 3.1 SDK. This is good,
  5390. because there was never any guarantee at run time which of the two or more
  5391. resources would be returned by LoadResource().
  5392.  
  5393.  
  5394. [More]
  5395.  
  5396. There is 1 Reply.
  5397.  
  5398. #: 16504 S7/Tools-Microsoft   
  5399.     03-Nov-92  15:16:24
  5400. Sb: #16503-DLGINCLUDE
  5401. Fm: Colin Stuart [Microsoft] 70744,25
  5402. To: Colin Stuart [Microsoft] 70744,25 (X)
  5403.  
  5404. [Continued]
  5405.  
  5406. This means that some apps being ported to Windows NT will give an error when
  5407. their resources are compiled, because they will have duplicate RCDATA type
  5408. resources with the same name (DLGINCLUDE). This error is by design. The
  5409. work-around is straightforward: delete all the DLGINCLUDE RCDATA type resource
  5410. statements from all the .dlg files.
  5411.  
  5412. Finally, because it does not make much sense to have the DLGINCLUDE type
  5413. resources in the executable at all, CvtRes will strip them out so that they do
  5414. not get linked into the exe.
  5415.  
  5416. #: 16403 S7/Tools-Microsoft   
  5417.     02-Nov-92  16:34:06
  5418. Sb: WinDbg problems
  5419. Fm: Jeff Thomson 71460,3222
  5420. To: All
  5421.  
  5422. I'm having two major problems trying to debug my application using WinDbg.
  5423. The application is written using MFC, although I'm uncertain whether that
  5424. has anything to do with the problems I'm encountering.
  5425.  
  5426. Problem #1 is that no matter where I set a breakpoint in my program, the
  5427. Unresolved Breakpoints dialog box pops up when I try to run my program.
  5428.  
  5429. Problem #2 is that it looks like my app's InitInstance() function is not
  5430. being executed. When I step through WinMain(), the following output appears
  5431. in the Command window:
  5432.  
  5433. Module Load: C:\projects\myprog\MYPROG.EXE  (symbols loaded)
  5434. Thread Create:  Process=0, Thread=0
  5435. Module Load: C:\WINNT\SYSTEM\NTDLL.DLL  (symbols loaded)
  5436. Module Load: C:\WINNT\SYSTEM\GDI32.DLL  (symbols loaded)
  5437. Module Load: C:\WINNT\SYSTEM\KERNEL32.DLL  (symbols loaded)
  5438. Module Load: C:\WINNT\SYSTEM\USER32.DLL  (symbols loaded)
  5439. ERROR: [0583] Class does not exist.
  5440. ERROR: [0583] Class does not exist.
  5441. >
  5442.  
  5443. The two error messages above appear to occur just as I single-step over the
  5444. call in WinMain() to my applications's InitInstance(). My question is, what
  5445. do these messages mean ? They say "Class does not exist."; but *which*
  5446. class(es) ?!?
  5447.  
  5448. Thanks in advance.
  5449.  
  5450.        -- Jeff
  5451.  
  5452.  
  5453.  
  5454. There is 1 Reply.
  5455.  
  5456. #: 16520 S7/Tools-Microsoft   
  5457.     03-Nov-92  17:22:18
  5458. Sb: #16403-WinDbg problems
  5459. Fm: Colin Stuart [Microsoft] 70744,25
  5460. To: Jeff Thomson 71460,3222 (X)
  5461.  
  5462. Jeff,
  5463.  
  5464. I'm corresponding with development on these.  I'll get back to you.
  5465.  Colin
  5466.  
  5467. #: 16525 S7/Tools-Microsoft   
  5468.     03-Nov-92  17:29:04
  5469. Sb: C compiler bug
  5470. Fm: Doug Olson [Microsoft] 72350,2635
  5471. To: Jeff Robbins 70303,1570 (X)
  5472.  
  5473. Jeff:
  5474.  
  5475. Your observation regarding the .asm code is correct.  One of our language
  5476. developers checked into it and confirmed the problem.  I will let you know
  5477. when more information is available.
  5478.  
  5479. Sincerely,
  5480.  
  5481.  Doug Olson
  5482.  Microsoft Developer Support
  5483.  
  5484. #: 16348 S7/Tools-Microsoft   
  5485.     02-Nov-92  11:11:23
  5486. Sb: Tools Survey: what do yo
  5487. Fm: Colin Stuart [Microsoft] 70744,25
  5488. To: ALL
  5489.  
  5490. Folks,
  5491.  Please respond in this thread, please.
  5492.  -Colin --------------------------This message is being posted as part of our
  5493. effort to get more information towards developing great new Windows systems.
  5494.  
  5495. We want to move to object and component based development and our Windows
  5496. group is aiming to create the ultimate programmable system. This is only a
  5497. small scale survey, amongst people we believe are active professional
  5498. developers that we have higher than average contact with.
  5499.  
  5500. We'd really appreciate your feedback in answer to the questions below. Being
  5501. small scale, we'd ask doubly that you reply to this! Many of the questions are
  5502. deliberately free-form, and might deserve longer answers.
  5503.  
  5504. We really appreciate you time, and hope that you'll enjoy helping us make
  5505. Windows a better product
  5506.  
  5507.  Alistair Banks
  5508.  Developer Relations Group
  5509.  Microsoft
  5510.  
  5511.  
  5512. _____TOOLS_____
  5513.  
  5514.  1. If you could choose your IDEAL SDK available from Microsoft, what
  5515.    would it include?
  5516.  
  5517.  2a. What Tools do you use currently for Windows development?
  5518.  2b. What specifically do you like about these tools?
  5519.  2c. What would you change?
  5520.  
  5521.  3a. What graphical programming environments have you used?
  5522.  3b. What was good, what was bad?
  5523.  
  5524.  4. Do you anticipate using
  5525.     Microsoft Foundation Classes
  5526.     Microsoft Visual Basic
  5527.     Borland OWL
  5528.     C++
  5529.     Other (please specify)
  5530.  
  5531.  
  5532.  _____ C vs. C++_____
  5533.  
  5534.  5. If your application is in C, would you consider doing new development
  5535.     in C or C++...
  5536.     In the same application?
  5537.     In a new application?
  5538.  
  5539.  6. If you have a handle in C, and a class pointer in C++
  5540.     do they have to be the same (Y/N)?
  5541.     would you call an API to convert them (Y/N)?
  5542.  
  5543.  7. How often do you anticipate passing handles between C and C++?
  5544.  
  5545. _____Object/Component Programming_____
  5546.  
  5547.  8a. What Object Oriented programming have you done?
  5548.  8b. Which environments?
  5549.  
  5550.  9a. With the direction toward object and component programming, what
  5551.      specifically would you like to see?
  5552.  
  5553.  10. What components would you need?
  5554.  
  5555.  
  5556.  
  5557.  
  5558. There are 3 Replies.
  5559.  
  5560. #: 16365 S7/Tools-Microsoft   
  5561.     02-Nov-92  13:54:45
  5562. Sb: #16348-Tools Survey: what do yo
  5563. Fm: William Lees 75300,250
  5564. To: Colin Stuart [Microsoft] 70744,25 (X)
  5565.  
  5566. _____TOOLS_____
  5567.  
  5568.  1. If you could choose your IDEAL SDK available from Microsoft, what
  5569.    would it include?
  5570.  
  5571. An integrated C/C++ development environment similar in look and feel to QCWIN, but without bugs, 
  5572. nd including 
  5573. version control software and a MAKE facility capable of building multiple targets.
  5574.  
  5575. A highly graphical and interactive help file development system with lightning performance
  5576.  
  5577.  
  5578.  2a. What Tools do you use currently for Windows development?
  5579.  
  5580. QCWIN
  5581. 3.1 SDK
  5582. Spy, CodeView
  5583. Turbo C++ 3.1
  5584. Brief
  5585.  
  5586.  2b. What specifically do you like about these tools?
  5587.  2c. What would you change?
  5588.  
  5589. I find QCWIN a very productive tool to work with, almost entirely because of its integrated debug
  5590. er.  However I 
  5591. can't get used to the editor and I still shell out to Brief.  So I would change the editor to mak
  5592.  it a Windows clone of 
  5593. Brief, more or less.
  5594.  
  5595. Spy is essential, but it could do with some improvements: it hasn't been changed in years.  It ne
  5596. ds more specific 
  5597. 'tuning' of messages to log, decoding of message parameters to English, and perhaps the ability t
  5598.  define one's own 
  5599. messages and parameters so that they can be decoded too.
  5600.  
  5601. I would like the debugger to be able to descend into machine code, when I want it to.
  5602.  
  5603. I would like a list of ALL the messages that can appear in the debug kernel's debug window, with 
  5604.  brief explanation 
  5605. of each.  For example the other day I had 'local heap is busy'  Well so I would expect :-), but w
  5606. ere do I look for an 
  5607. explanation of this message???
  5608.  
  5609.  3a. What graphical programming environments have you used?
  5610.  3b. What was good, what was bad?
  5611.  
  5612. As above.  Turbo C++ just doesn't feel right to me, but it is faster than QCWIN, and the debugger
  5613. is less buggy.,  
  5614. The editor is IMO much worse.
  5615.  
  5616.  4. Do you anticipate using
  5617.     Microsoft Foundation Classes
  5618. yes
  5619.     Microsoft Visual Basic
  5620. no.  PLEASE don't force us to learn Basic, visual or otherwise.
  5621.     Borland OWL
  5622. no.
  5623.     C++
  5624. yes
  5625.     Other (please specify)
  5626.  
  5627.  
  5628.  _____ C vs. C++_____
  5629.  
  5630.  5. If your application is in C, would you consider doing new
  5631. development
  5632.     in C or C++...
  5633. yes C/C++
  5634.  
  5635. There is 1 Reply.
  5636.  
  5637. #: 16374 S7/Tools-Microsoft   
  5638.     02-Nov-92  14:16:24
  5639. Sb: #16365-Tools Survey: what do yo
  5640. Fm: William Lees 75300,250
  5641. To: William Lees 75300,250 (X)
  5642.  
  5643.  
  5644. (continued)
  5645.  
  5646. yes C/C++
  5647.     In the same application?
  5648. yes C/C++
  5649.     In a new application?
  5650. yes C/C++
  5651.  
  5652.  6. If you have a handle in C, and a class pointer in C++
  5653.     do they have to be the same (Y/N)?
  5654. no
  5655.     would you call an API to convert them (Y/N)?
  5656. always
  5657.  
  5658.  7. How often do you anticipate passing handles between C and C++?
  5659. I'll live with whatever you think is most sensible.
  5660.  
  5661. _____Object/Component Programming_____
  5662.  
  5663.  8a. What Object Oriented programming have you done?
  5664.  8b. Which environments?
  5665. none.
  5666.  
  5667.  9a. With the direction toward object and component programming, what
  5668.      specifically would you like to see?
  5669. sorry, don't understand the question well enough to comment.
  5670.  
  5671.  10. What components would you need?
  5672.  
  5673.  
  5674.  
  5675.  
  5676. <<
  5677.  
  5678. #: 16475 S7/Tools-Microsoft   
  5679.     03-Nov-92  11:01:24
  5680. Sb: #16348-Tools Survey: what do yo
  5681. Fm: Scott Alexander 76556,557
  5682. To: Colin Stuart [Microsoft] 70744,25 (X)
  5683.  
  5684. colin
  5685.  
  5686. Can we upload a WFW file as a reply (where to so it will get found) I can not
  5687. do the questions justice  in a message (or 5).  If not, should we send private
  5688. to reduce scroll (I would prefer an upload so I can include diagrams).
  5689.  
  5690.  
  5691.  
  5692. There is 1 Reply.
  5693.  
  5694. #: 16519 S7/Tools-Microsoft   
  5695.     03-Nov-92  17:22:14
  5696. Sb: #16475-Tools Survey: what do yo
  5697. Fm: Colin Stuart [Microsoft] 70744,25
  5698. To: Scott Alexander 76556,557 (X)
  5699.  
  5700. Scott and ALL,
  5701.  
  5702. We would like to hear from as many of you folks as possible, so here are some
  5703. other alternitives that may be more convenient for you:
  5704.  
  5705. You may post your answer publicly or privately in this section, or you may
  5706. email, fax, or mail your responses to:
  5707.  
  5708. Windows Cairo Design-Preview Feedback Fax: 206-93-MS-FAX One Microsoft Way,
  5709. Redmond, WA 98052 Internet: cairodp@microsoft.com
  5710.  
  5711. Thanks,
  5712.  Colin
  5713.  
  5714. #: 16529 S7/Tools-Microsoft   
  5715.     03-Nov-92  17:53:52
  5716. Sb: #16348-Tools Survey: what do yo
  5717. Fm: Daniel Green 70312,3470
  5718. To: Colin Stuart [Microsoft] 70744,25 (X)
  5719.  
  5720. Regarding the survey:
  5721.  
  5722. All I want (right now :-) is a robust, reliable, high speed, C++ compiler with
  5723. a debugger that fully supports C++ and a post-mortem tool similar to the
  5724. Winspecter shipping with Borland CPP for Win 3.1.  I don't care about an IDE
  5725. environment or any other bells and whistles; command line is fine.  What I do
  5726. care about is that the compiler is generating good code and not crashing with
  5727. internal compiler errors or CVPACK errors.  In regards to speed, the compiler
  5728. is too slow right now (this is exacerbated by the extra steps of cvpack,
  5729. converting the resource file, etc).  The traditional edit compile link cycle
  5730. takes much longer under NT then it does under Win 3.1.
  5731.  
  5732. #: 16297 S7/Tools-Microsoft   
  5733.     01-Nov-92  11:02:17
  5734. Sb: Compiling SDK Samples
  5735. Fm: Jeff Richardson 73670,1672
  5736. To: ALL
  5737.  
  5738. When I try to run the MAKEALL.BAT file, the system seems to compile the
  5739. samples ok, but does not LINK.  The linker reports error U1077 and a return
  5740. code of '128'.  I look in the docs and could not find a return code of 128. 
  5741. HELP, what is wrong?
  5742.  
  5743. thanks jeff>
  5744.  
  5745.  
  5746. There is 1 Reply.
  5747.  
  5748. #: 16386 S7/Tools-Microsoft   
  5749.     02-Nov-92  15:23:30
  5750. Sb: #16297-Compiling SDK Samples
  5751. Fm: David Taniguchi [MS] 72350,2054
  5752. To: Jeff Richardson 73670,1672 (X)
  5753.  
  5754. Hi Jeff,
  5755.   Look in the file makeall.err to see which sample it fails on.
  5756.   Also, run the setenv.bat file to set your environment variables (setupsdk
  5757.   should do this for you, but the changes will not occur until you reboot
  5758.   your machine).
  5759.   What type of machine is this on?  (MIPS or x86)
  5760.   Thanks,
  5761.   Dave
  5762.  
  5763.  
  5764.  
  5765. There is 1 Reply.
  5766.  
  5767. #: 16555 S7/Tools-Microsoft   
  5768.     03-Nov-92  22:20:57
  5769. Sb: #16386-Compiling SDK Samples
  5770. Fm: Jeff Richardson 73670,1672
  5771. To: David Taniguchi [MS] 72350,2054 (X)
  5772.  
  5773. Dave,
  5774. Thanks for the reply, after checking and re-checking all the things you
  5775. mentioned.  I re-installed the SDK and the problem seems to be fixed.  When I
  5776. installed the SDK the first time, there was a error concerning one of the
  5777. readme.txt files.  The only thing I can guess,  is that my CD-ROM drive needs
  5778. to be cleaned (I have only had it a couple months :-( ).
  5779.  
  5780. Jeff.
  5781.  
  5782. #: 16570 S7/Tools-Microsoft   
  5783.     04-Nov-92  05:53:08
  5784. Sb: Installation Problem
  5785. Fm: Bob Soodak 71055,542
  5786. To: All
  5787.  
  5788. Problem Installing NT from MS Win32 SDK CD-ROM.
  5789.  
  5790. Motherboard: IBM PS/2 Model 40SX
  5791.  
  5792. SCSI Adapters:
  5793.   TCM-850IBM manufactured for IBM by Future Domain;
  5794.   IBM 3.5 inch rewritable optical dreve attached, installed internally.
  5795.  
  5796.   Adaptec AHA-1510 (from Corel Systems);
  5797.   Corel (manufactured by Toshiba) CD-ROM attached, installed externally.
  5798.   (Blockbuster Bundle)
  5799.  
  5800. Problem: MS boot disk (dated July 1992) Setup program fails to recognize
  5801.   the presence of the CD-ROM.
  5802.  
  5803. Note: In all other respects, the CD-ROM functions normally. I had no
  5804.   problem installing the MS-Developer Network Software from the same
  5805.   drive. Is it possible that the Setup program assumes only one SCSI
  5806.   card is installed and fails to search the second for valid CD-ROMs?
  5807.  
  5808. #: 16356 S7/Tools-Microsoft   
  5809.     02-Nov-92  12:04:46
  5810. Sb: Oct. SPY
  5811. Fm: Mark Gamber 76450,2754
  5812. To:  70744,25 (X)
  5813.  
  5814. Colin,
  5815.    One more *little* thing...  : )
  5816.    October's SPY's icon shows up everywhere except when the program is
  5817. minimized on the desktop. The icon text appears, but the icon itself is
  5818. invisible. At least on my desktop. It never ends, does it? <g>
  5819.    Mark
  5820.  
  5821. There is 1 Reply.
  5822.  
  5823. #: 16590 S7/Tools-Microsoft   
  5824.     04-Nov-92  10:34:25
  5825. Sb: #16356-Oct. SPY
  5826. Fm: David Taniguchi [MS] 72350,2054
  5827. To: Mark Gamber 76450,2754 (X)
  5828.  
  5829. Hi Mark,
  5830.   Thanks for the problem report.  You are correct, the icon disappears when
  5831.   SPY is minimized.  I'll report this to the proper people.
  5832.   Thanks,
  5833.   Dave
  5834.  
  5835. #: 16614 S7/Tools-Microsoft   
  5836.     04-Nov-92  11:56:19
  5837. Sb: New DLL build procedure
  5838. Fm: neil colvin 71650,3517
  5839. To: Sysop (X)
  5840.  
  5841. What is the rationale behind the two changes required to build a DLL in the
  5842. October release?  I refer to the requirement that ALL of the object files for
  5843. the DLL be passed to LIB, and that a -base:0x1c000000 be specified for the
  5844. DLL.  Both are done in the samples, but are they both required, and what do
  5845. they do?
  5846.  
  5847. #: 16465 S7/Tools-Microsoft   
  5848.     03-Nov-92  09:42:51
  5849. Sb: RC Issues
  5850. Fm: Samuel Feldman 70403,432
  5851. To: Colin Stuart (MSFT) 70744,25 (X)
  5852.  
  5853. Colin,
  5854.  
  5855. Two more RC issues:
  5856.  
  5857. 1) When compiling a font resource, there seems to be 32 bytes of extra junk at
  5858. the end of the font directory, where I expect the szFaceName[] to be.  Is that
  5859. a bug?
  5860.  
  5861. 2) When compiling a Version-Information resource, there seems to be a new WORD
  5862. in the version-information block structure, besides the cbBlock and the
  5863. cbValue.  Can you tell me what it is?
  5864.  
  5865.  Thanks
  5866.  
  5867.  -- Samuel
  5868.  
  5869. There is 1 Reply.
  5870.  
  5871. #: 16620 S7/Tools-Microsoft   
  5872.     04-Nov-92  13:16:29
  5873. Sb: #16465-RC Issues
  5874. Fm: Colin Stuart [Microsoft] 70744,25
  5875. To: Samuel Feldman 70403,432 (X)
  5876.  
  5877. Samuel,
  5878.  
  5879. I'm looking into this.  By the way, we've just uploaded a document you may be
  5880. interested in.  It's in library 4, RESFMT.ZIP. It contains descriptions of the
  5881. binary formats of win32 resources.
  5882.  
  5883. Enjoy,
  5884.  Colin
  5885.  
  5886. #: 16518 S7/Tools-Microsoft   
  5887.     03-Nov-92  17:22:09
  5888. Sb: Windbg problems
  5889. Fm: Colin Stuart [Microsoft] 70744,25
  5890. To: Bruce Cowan 73650,32 (X)
  5891.  
  5892. Bruce, I'll talk with development about these, and post new info as I get it.
  5893. Thanks for the post.
  5894.  
  5895. Colin
  5896.  
  5897. #: 16628 S7/Tools-Microsoft   
  5898.     04-Nov-92  13:35:38
  5899. Sb: Windbg problems
  5900. Fm: Kevin Quinn 75430,255
  5901. To: Carl H Bache [PS Norway] 100010,2257 (X)
  5902.  
  5903. Bruce, et al:
  5904.  
  5905. I've also seen the lock problem with NTSD; pview shows a process still
  5906. running that can't be 'killed'.  However, all the windows have long since
  5907. gone...
  5908.  
  5909.  
  5910. Kevin
  5911. Desktop Systems
  5912. Ingres
  5913.  
  5914. #: 16651 S7/Tools-Microsoft   
  5915.     04-Nov-92  16:00:49
  5916. Sb: Too Many S
  5917. Fm: Doug Olson [Microsoft] 72350,2635
  5918. To: Thomas Holaday, GAT Corp 76244,1532 (X)
  5919.  
  5920. Thomas:
  5921.  
  5922. Would you upload the EXE file that was being CVPACK'ed when this error
  5923. occurred?  We are working to track down this problem but need a sample.
  5924.  
  5925. To make sure you have the right one, you can type CVPACK PROGRAM.EXE from the
  5926. command prompt and see if the error occurs.
  5927.  
  5928. Thanks for the help,
  5929.  
  5930.  Doug Olson
  5931.  Microsoft Developer Support
  5932.  
  5933. #: 16420 S7/Tools-Microsoft   
  5934.     02-Nov-92  18:48:59
  5935. Sb: #16242-CVPACK Error
  5936. Fm: Doug Olson [Microsoft] 72350,2635
  5937. To: Koby 71172,2722 (X)
  5938.  
  5939. Koby:
  5940.  
  5941. Thanks for the problem report.  I am looking into this error.  I'll get back
  5942. with you as soon as I discover the cause.
  5943.  
  5944.  Sincerely,
  5945.  
  5946.  Doug Olson
  5947.  Microsoft Developer Support
  5948.  
  5949.  
  5950.  
  5951.  
  5952. There is 1 Reply.
  5953.  
  5954. #: 16636 S7/Tools-Microsoft   
  5955.     04-Nov-92  14:16:10
  5956. Sb: #16420-CVPACK Error
  5957. Fm: Koby 71172,2722
  5958. To: Doug Olson [Microsoft] 72350,2635 (X)
  5959.  
  5960. Hi Doug.
  5961. I think that I found the resone why we got CVPACK error. It based on the
  5962. copmilation switch -Zp1 that we are using. Please try using this switch
  5963. Thanks' Koby
  5964.  
  5965. #: 16652 S7/Tools-Microsoft   
  5966.     04-Nov-92  16:00:54
  5967. Sb: #16242-CVPACK Error
  5968. Fm: Doug Olson [Microsoft] 72350,2635
  5969. To: Koby 71172,2722 (X)
  5970.  
  5971. Koby:
  5972.  
  5973. Could you upload a sample EXE file that produces this error?  To verify you
  5974. have the right EXE, you can type CVPACK PROGRAM.EXE at the command prompt. 
  5975. You should see the error from CVPACK.
  5976.  
  5977. Thanks,
  5978.  
  5979.  Doug Olson
  5980.  Microsoft Developer Support
  5981.  
  5982. #: 16585 S7/Tools-Microsoft   
  5983.     04-Nov-92  09:36:49
  5984. Sb: C runtime in DLL
  5985. Fm: dan white 70324,3147
  5986. To: sysop (X)
  5987.  
  5988.  
  5989. I'm still a little confused about how NT and the C runtime are handling DLL's.
  5990. If everyone links to CRTDLL.DLL, do a DLL and the main routine see the same
  5991. state of the C runtime if they are in the same thread?  I think the answer is
  5992. yes, but I'm not sure?
  5993.  
  5994. Now, how about there are multiple threads.  Is there only one heap?  If so,
  5995. there must be mutex's and other synchronization code hidden in the heap
  5996. manager. Does this make a big speed difference?  Is the C runtime still faster
  5997. than than the corresponding OS calls (HeapAlloc and so on).
  5998.  
  5999. If there are multiple heaps, then can we pass allocated memory between
  6000. threads?  What happens if a thread  terminates and other threads have pointers
  6001. to memory it allocated?
  6002.  
  6003.                                 Thanks
  6004.                                 Dan
  6005.  
  6006.  
  6007.  
  6008.  
  6009. There is 1 Reply.
  6010.  
  6011. #: 16669 S7/Tools-Microsoft   
  6012.     04-Nov-92  18:37:32
  6013. Sb: #16585-C runtime in DLL
  6014. Fm: Doug Olson [Microsoft] 72350,2635
  6015. To: dan white 70324,3147 (X)
  6016.  
  6017. Dan:
  6018.  
  6019. I will put together some information on this topic and get back with you
  6020. shortly.
  6021.  
  6022. Sincerely,
  6023.  
  6024.  Doug Olson
  6025.  Microsoft Developer Support
  6026.  
  6027. #: 16294 S7/Tools-Microsoft   
  6028.     01-Nov-92  09:26:21
  6029. Sb: #16230-CFile destructor
  6030. Fm: Jim Young 72760,725
  6031. To: Julie Solon [Microsoft] 71075,107 (X)
  6032.  
  6033. The CFile object is declared as a local variable in the InitInstance()
  6034. function. I do not use new to create it from the heap. Thanks!
  6035.  
  6036. --Jim
  6037.  
  6038. There is 1 Reply.
  6039.  
  6040. #: 16477 S7/Tools-Microsoft   
  6041.     03-Nov-92  11:15:18
  6042. Sb: #16294-CFile destructor
  6043. Fm: Julie Solon [Microsoft] 71075,107
  6044. To: Jim Young 72760,725 (X)
  6045.  
  6046. Jim,
  6047.  
  6048. I took the HELLOAPP sample and added the following statement in InitInstance()
  6049.  
  6050.     CFile nfile;
  6051.  
  6052. I also compiled with the -Fc option to get a mixed source and assembler
  6053. listing.  I see that the constructor (CFile::CFile) is called when the
  6054. variable is created and that the destruction (CFile::~CFile) is called as part
  6055. of the exit from the InitInstance routine.
  6056.  
  6057. How are you verifying that the object is not deleted?  Under what
  6058. circumstances does this happen?  You might try my small case and work up from
  6059. there if your example is large.
  6060.  
  6061.  
  6062. Julie
  6063.  
  6064.  
  6065.  
  6066.  
  6067. There is 1 Reply.
  6068.  
  6069. #: 16692 S7/Tools-Microsoft   
  6070.     04-Nov-92  21:47:05
  6071. Sb: #16477-CFile destructor
  6072. Fm: Jim Young 72760,725
  6073. To: Julie Solon [Microsoft] 71075,107 (X)
  6074.  
  6075. The only verification that the destructor is not being called until the end of
  6076. the app is that is when I get the assert message. There is no particulare
  6077. circumstance that causes this - it always happens. I'll try to isolate the
  6078. problem.
  6079.  
  6080. --Jim
  6081.  
  6082. #: 16716 S7/Tools-Microsoft   
  6083.     05-Nov-92  08:47:33
  6084. Sb: I've had it!
  6085. Fm: Bill Cohagan 74375,313
  6086. To: sysop (X)
  6087.  
  6088. I would appreciate your forwarding to me (via email if that's appropriate) the
  6089. name and email (or USmail) address of your manager for developer relations.  I
  6090. am a developer with whom MS relations have been less than satisfactory and I
  6091. would like to communicate this to someone who might care about such things.  I
  6092. regret that it has come to this, but I have no more slack to cut.
  6093.  
  6094. Thank you,
  6095.  Bill
  6096.  
  6097. #: 16687 S7/Tools-Microsoft   
  6098.     04-Nov-92  21:40:34
  6099. Sb: NT boot failure
  6100. Fm: Daniel Pugh 70244,533
  6101. To: sysop (X)
  6102.  
  6103.  
  6104. I'm trying to install the NT SDK in a BOOT MANAGER partition so that
  6105. it can cohabitate with both OS/2 2.0 and DOS 5.  Am I destined for
  6106. failure?  Since my CD-ROM is not supported, I performed the steps in
  6107. the DOS2NT.BAT file by hand.  When I try to boot, I get the following
  6108. error:
  6109.  
  6110. OS Loader V2.10
  6111.   loading file multi(0)disk(0)partition(1)/nt/system/ntoskrnl.exe
  6112. the system did not load because it cannot find the following file
  6113. <winnt root>\system\ntoskrnl.exe.
  6114. Please re-install a copy of the above file .
  6115. Boot failed
  6116.  
  6117. Does NT do some low-level partition stuff that conflicts with Boot
  6118. Manager?  It seemed so safe because each OS gets its own partition. I
  6119. hate to have to buy yet another computer.
  6120.  
  6121. thanks in advance -- dp
  6122.  
  6123.                         
  6124.  
  6125.  
  6126.  
  6127.  
  6128. There is 1 Reply.
  6129.  
  6130. #: 16723 S7/Tools-Microsoft   
  6131.     05-Nov-92  10:15:29
  6132. Sb: #16687-NT boot failure
  6133. Fm: David Taniguchi [MS] 72350,2054
  6134. To: Daniel Pugh 70244,533 (X)
  6135.  
  6136. Hi Daniel,
  6137.   Please post this in section 3 (Windows NT Setup) of forum WinNT.  They
  6138.   are more experienced with these types of issues.
  6139.   Thanks,
  6140.   Dave
  6141.  
  6142. #: 16615 S7/Tools-Microsoft   
  6143.     04-Nov-92  11:58:54
  6144. Sb: "Dual-boot"?
  6145. Fm: Kent Rollins 72040,1607
  6146. To: all
  6147.  
  6148. Does Windows NT have a "dual-boot" capability whereby I can boot either
  6149. Windows NT or DOS 5.0?  I know Windows NT supports DOS itself, but I want to
  6150. know whether I can boot both from the same machine.
  6151.  
  6152. Kent
  6153.  
  6154. There are 2 Replies.
  6155.  
  6156. #: 16642 S7/Tools-Microsoft   
  6157.     04-Nov-92  15:45:07
  6158. Sb: #16615-"Dual-boot"?
  6159. Fm: Chuck Atwood 76004,1602
  6160. To: Kent Rollins 72040,1607 (X)
  6161.  
  6162. The default installation of NT on my DOS 5.0 system created a dual-boot
  6163. configuration.  A BOOT.INI file defines the name of each operating system. 
  6164. You can even have multiple version of NT if you want.  I have dual booted with
  6165. both the July and October release of NT.
  6166.  
  6167. #: 16724 S7/Tools-Microsoft   
  6168.     05-Nov-92  10:15:34
  6169. Sb: #16615-"Dual-boot"?
  6170. Fm: David Taniguchi [MS] 72350,2054
  6171. To: Kent Rollins 72040,1607
  6172.  
  6173. Hi Kent,
  6174.   Yes, "Flexboot" is installed on your system when you load it.  When you
  6175.   boot your machine you see a list of both operating systems.  You can
  6176.   choose whichever operating system to boot into.  Flexboot will time out
  6177.   and boot into whichever you choose as the default in a settable amount
  6178.   of time.
  6179.  
  6180.   If you have further setup questions, please post in section 3 (Windows
  6181.   NT setup) of forum Winnt.
  6182.  
  6183.   Thanks,
  6184.   Dave
  6185.  
  6186. #: 16459 S7/Tools-Microsoft   
  6187.     03-Nov-92  09:39:37
  6188. Sb: LINK w multi resources
  6189. Fm: David Manns 100112,2773
  6190. To: ALL
  6191.  
  6192. Is there a way of linking multiple resource objects in an executable? LINK
  6193. accepts them without giving any errors, but you cannot then access the
  6194. resources. It only works if there is one and only one resource object. Is this
  6195. a known problem that will be addressed?
  6196.  
  6197.   
  6198.  
  6199. There is 1 Reply.
  6200.  
  6201. #: 16732 S7/Tools-Microsoft   
  6202.     05-Nov-92  12:19:27
  6203. Sb: #16459-LINK w multi resources
  6204. Fm: David Taniguchi [MS] 72350,2054
  6205. To: David Manns 100112,2773
  6206.  
  6207. Hi David,
  6208.   I am checking to seeing if this is by design or a bug.  With Windows 3.0
  6209.   they recommend you using one single .RC file.  If you have your resources
  6210.   spread out among many resources, create an empty rc file and #include the
  6211.   contributing .rc files.
  6212.   Thanks,
  6213.   Dave
  6214.  
  6215. #: 16607 S7/Tools-Microsoft   
  6216.     04-Nov-92  11:15:48
  6217. Sb: No I/O fncs found
  6218. Fm: Ken Lidster 71051,1323
  6219. To: sysop (X)
  6220.  
  6221. When porting our product to Windows NT, we get unresolved external messages
  6222. for the I/O functions (_lseek, _open, _write, etc.). The release notes
  6223. indicate that the file mstools\lib\symbols.txt would list all of the symbols
  6224. available in the libraries. We could only find the above functions listed
  6225. as _llseek, _lopen, _lwrite, and so forth in kernel32.lib. As a test, we
  6226. changed our modules to match the names in symbols.txt, but they still remain
  6227. undefined (all forms).
  6228.  
  6229. Where can we find these functions?
  6230.  
  6231. Ken
  6232.        
  6233.  
  6234. There is 1 Reply.
  6235.  
  6236. #: 16733 S7/Tools-Microsoft   
  6237.     05-Nov-92  12:19:34
  6238. Sb: #16607-No I/O fncs found
  6239. Fm: David Taniguchi [MS] 72350,2054
  6240. To: Ken Lidster 71051,1323 (X)
  6241.  
  6242. Hi Ken,
  6243.   >When porting our product to Windows NT, we get unresolved external
  6244.   >messages for the I/O functions (_lseek, _open, _write, etc.). The release
  6245.   >notes indicate that the file mstools\lib\symbols.txt would list all of
  6246.   >the symbols available in the libraries. We could only find the above
  6247.   >functions listed as _llseek, _lopen, _lwrite, and so forth in kernel32.
  6248.   >As a test, we changed our modules to match the names in symbols.txt, but
  6249.   >they still remain undefined (all forms).
  6250.  
  6251.   I was able to use the _lopen() and _lread().  To do this, I modified the
  6252.   sample "simple".  I simply added hFile = _lopen("simple.c", OF_READ)
  6253.   _lread(hFile, szTemp, 80). As you mentioned, these should be included in
  6254.   kernel32.lib.  Are you using the October Release? When you are linking,
  6255.   do you see kernel32.lib on the link line?  Is your LIB environment
  6256.   variable set to the proper location?
  6257.  
  6258.   Thanks,
  6259.   Dave
  6260.  
  6261. #: 16653 S7/Tools-Microsoft   
  6262.     04-Nov-92  16:01:00
  6263. Sb: CVPACK breakpoint (?)
  6264. Fm: Doug Olson [Microsoft] 72350,2635
  6265. To: Bruce Cowan 73650,32 (X)
  6266.  
  6267. Bruce:
  6268.  
  6269. Our developer who wrote CVPACK has been looking into this problem and has
  6270. asked me for a sample.  Could you upload a sample EXE file?  This would be the
  6271. EXE file that is left over after the breakpoint exception.
  6272.  
  6273. To make sure you have the correct EXE file, you can type CVPACK PROGRAM.EXE at
  6274. the command prompt.  You should see the same breakpoint exception.
  6275.  
  6276. Thanks for the help,
  6277.  
  6278.  Doug Olson
  6279.  Microsoft Developer Support
  6280.  
  6281.  
  6282.  
  6283.  
  6284. There is 1 Reply.
  6285.  
  6286. #: 16743 S7/Tools-Microsoft   
  6287.     05-Nov-92  13:04:24
  6288. Sb: #16653-CVPACK breakpoint (?)
  6289. Fm: Bruce Cowan 73650,32
  6290. To: Doug Olson [Microsoft] 72350,2635 (X)
  6291.  
  6292. Doug:
  6293. I'm afraid I can't recreate that problem any more. Now when I try the same
  6294. thing (compiling my entire application with /Zi) I get a "instruction at
  6295. 0x00015da5 couldn't write the memory at 0x0058e1b0" or "instruction at
  6296. 0x00015d12 couldn't write the memory at 0x00559000" (paraphrased). The crash
  6297. is quite repeatable although the failure seems to move around a bit. Do you
  6298. really want me to upload a 2.6MB file (compressed, the .EXE file is 6.1MB)?
  6299. If so, I think you should pay!
  6300.  
  6301. Bruce
  6302.  
  6303. #: 16753 S7/Tools-Microsoft   
  6304.     05-Nov-92  14:39:14
  6305. Sb: MFC Linker Problem
  6306. Fm: Bruce W. Johnson 73170,3076
  6307. To: all
  6308.  
  6309. I am having linking trouble with MFC. Symmptoms can be replicated as follows:
  6310.  
  6311. 1. Take the sample program hello.cpp. 2. Move the constructor
  6312. CMainWindow::CMAinWindow() to a separate source module. 3. Add this new module
  6313. to the list of objects in the makefile. 4. The make will fail in linking with
  6314. the message that ??0CMainWindow@@QAG@XZ is an undefined external.
  6315.  
  6316. What is the magic incantation to give the compiler/linker to keep it from
  6317. choking on this?
  6318.  
  6319. I am using the October beta.
  6320.  
  6321. Thanks in advance.
  6322.  
  6323. #: 16417 S7/Tools-Microsoft   
  6324.     02-Nov-92  18:08:11
  6325. Sb: Oct NT and C++ Debugging
  6326. Fm: John H Soucie 71052,3516
  6327. To: SYSOP (X)
  6328.  
  6329. Sysop,
  6330.  
  6331. I have just recieved my October release of NT and the preliminary SDK.   I
  6332. have a C++ test application that compiles under the new version and runs
  6333. beginning to end.  The application is a short console application.  I
  6334. attempted to run the application through Windbg but found that while I now
  6335. view C++ code, I still cannot view C++ class data.  Whenever I attempt to
  6336. expand a class listed in the Locals or Watch window by clicking on the "+"
  6337. symbol, the debugger replies with:
  6338.  
  6339. Error: error in OMF type information.
  6340.  
  6341. With this error, it seems as though the Windbg expression evaluator is still
  6342. unable to recognize C++ class information.  Is this true or am I doing
  6343. something wrong.  The release notes state that the new Windbg supports C++,
  6344. but I would have to take exception to this statement if C++ class data cannot
  6345. be viewed.  Additionally, if the problem is with Windbg, why isn't there a
  6346. readme file somewhere that discusses its limitations?
  6347.  
  6348. Any insight would be great.  Thanks.
  6349.  
  6350. John Soucie  
  6351.  
  6352. There is 1 Reply.
  6353.  
  6354. #: 16760 S7/Tools-Microsoft   
  6355.     05-Nov-92  15:38:39
  6356. Sb: #16417-Oct NT and C++ Debugging
  6357. Fm: Colin Stuart [Microsoft] 70744,25
  6358. To: John H Soucie 71052,3516 (X)
  6359.  
  6360. John,
  6361.  
  6362. We've reproduced the problem and have informed development. I'll post any new
  6363. information I get.  Thanks for your post.
  6364.  
  6365. Colin
  6366.  
  6367. #: 16761 S7/Tools-Microsoft   
  6368.     05-Nov-92  15:38:46
  6369. Sb: Bug in C++/C comp.
  6370. Fm: Ken Joyner 75140,256
  6371. To: Sysop (X)
  6372.  
  6373.  
  6374. /*******************************************************************************
  6375.  * The code below shows a bug in the compiler:
  6376.  * This code works with Borland, AT&T, and Zortech compilers.
  6377.  *
  6378.  * The compiler can't figure out what operator it should use, but
  6379.  * it should use the operator precedents to figure it out.
  6380.  *
  6381.  * This is a serious bug.  What is your policy on bug fixes, do you make
  6382.  * patches?
  6383.  *
  6384.  * This bug shows up in the July and October Releases.
  6385.  *
  6386.  * Bryan Sera
  6387.  *
  6388.  *
  6389.  
  6390. *******************************************************************************/
  6391.  
  6392. class Astr {
  6393.  public:
  6394.    Astr(char* CString); };
  6395.  
  6396. class AstrArrLtr { };
  6397.  
  6398. class AstrArr {
  6399.  public:
  6400.    AstrArr(unsigned int size);
  6401.  
  6402.    operator AstrArrLtr*();
  6403.    operator Astr*();
  6404.    Astr& operator[](unsigned int index); };
  6405.  
  6406.   void main() {
  6407.   AstrArr array(5);
  6408.   array[0] = Astr("Zero"); }
  6409.  
  6410. #: 16762 S7/Tools-Microsoft   
  6411.     05-Nov-92  15:39:51
  6412. Sb: another Bug in C++ comp.
  6413. Fm: Ken Joyner 75140,256
  6414. To: Sysop (X)
  6415.  
  6416.  
  6417. /*******************************************************************************
  6418.  * The code below shows a bug in the compiler:
  6419.  * This code works with Borland, AT&T, and Zortech compilers.
  6420.  *
  6421.  * This bug shows up in the July and October Releases.
  6422.  *
  6423.  * Bryan Sera
  6424.  *
  6425.  *
  6426.  
  6427. *******************************************************************************/
  6428.  
  6429. class A {
  6430.   virtual int func() { return 0; }; };
  6431.  
  6432. typedef A thisisA;
  6433.  
  6434. class B : public A {
  6435.   /* Since thisisA is a A, the function below should work */
  6436.   /* the same as this->A::func();                         */
  6437.   virtual int func() { return this->thisisA::func(); }; };
  6438.  
  6439. #: 16720 S7/Tools-Microsoft   
  6440.     05-Nov-92  09:54:31
  6441. Sb: Resource Formats
  6442. Fm: Samuel Feldman 70403,432
  6443. To: Steve Firebaugh [MS] 75430,412 (X)
  6444.  
  6445. Steve --
  6446.  
  6447. Another question occurred to me after reading the resource formats document,
  6448. and that is, what are these new resource types with predefined type numbers?
  6449.  
  6450. RT_NEWRESOURCE is a flag 0x2000, and gets applied to other types to create
  6451. RT_NEWBITMAP, RT_NEWMENU, and RT_NEWDIALOG.  Can you tell me what these are?
  6452.  
  6453. And doesn't Microsoft documentation say that if you want to use a user-defined
  6454. type with an ID, make sure it's above 256, since numbers below 256 are
  6455. reserved for Microsoft?  Then wouldn't the use of 0x2000 create problems of ID
  6456. conflicts?
  6457.  
  6458.  -- Samuel
  6459.  
  6460. There is 1 Reply.
  6461.  
  6462. #: 16763 S7/Tools-Microsoft   
  6463.     05-Nov-92  15:40:14
  6464. Sb: #16720-Resource Formats
  6465. Fm: Steve Firebaugh [MS] 75430,412
  6466. To: Samuel Feldman 70403,432 (X)
  6467.  
  6468. Samuel,  First of all, thank you for the constructive feedback on resfmt which
  6469. you posted in section 4.  We are reviewing it for inclusion in the next
  6470. release of that document.  I will try to have answers to the questions which
  6471. you raised there sometime tomorrow.  I will post them in section 4.
  6472.  
  6473. Secondly, I do not know what the RT_NEWRESOURCE flag is for.  From everything
  6474. that I've seen, it is not used.  Please notice that I sort of "went out on a
  6475. limb" to upload resfmt.  It has not been through a formal doc. review process.
  6476. Although this is being worked on, I don't think that anyone would have seen
  6477. the information in that document before the next beta release.  You may want
  6478. to interpret the contents with this in mind.  It is NOT an official document.
  6479. Thanks for your interest and feedback.
  6480.  
  6481. Steve Firebaugh
  6482.  
  6483. #: 16328 S7/Tools-Microsoft   
  6484.     02-Nov-92  08:10:41
  6485. Sb: DLL/FP/Linker
  6486. Fm: Thomas Nielsen 100065,2167
  6487. To: Dough Olson 10000,34
  6488.  
  6489. Doug,
  6490.  
  6491. once again thanks for your help on our linking problem (msg. #15574, using
  6492. floating point in a DLL), but another one has arisen. Since we are now using
  6493. the _CRT_INIT function as entry-point in the DLL, our old LibMain function
  6494. isn't getting called on DLL startup.
  6495.   The problem is, that we are defining a couple of window classes in the
  6496. LibMain function, at the time the DLL is loaded, and since this function isn't
  6497. being called anymore, the window classes aren't defined.
  6498.   Our question is: Is it possible to call the _CRT_INIT function from within
  6499. our own LibMain, and still get the desired effect (no reference to a _main
  6500. function), or do we have to define a special function, to be called on program
  6501. (EXE) startup, which will define our window classes.
  6502.  
  6503.                         Many thanks in advance,
  6504.  
  6505.                                         Thomas    
  6506.  
  6507. There are 2 Replies.
  6508.  
  6509. #: 16423 S7/Tools-Microsoft   
  6510.     02-Nov-92  18:49:15
  6511. Sb: #16328-DLL/FP/Linker
  6512. Fm: Doug Olson [Microsoft] 72350,2635
  6513. To: Thomas Nielsen 100065,2167 (X)
  6514.  
  6515. Thomas:
  6516.  
  6517. Interesting question, I am checking into it.
  6518.  
  6519.  Doug Olson
  6520.  Microsoft Developer Support
  6521.  
  6522. #: 16775 S7/Tools-Microsoft   
  6523.     05-Nov-92  17:32:30
  6524. Sb: #16328-DLL/FP/Linker
  6525. Fm: Doug Olson [Microsoft] 72350,2635
  6526. To: Thomas Nielsen 100065,2167
  6527.  
  6528. Thomas:
  6529.  
  6530. It is possible to call the _CRT_INIT function from within your own entry point
  6531. function.  Below I have included a sample DLL entry point which calls the
  6532. _CRT_INIT correctly and invokes LibMain().
  6533.  
  6534. _CRT_INIT must be called on PROCESS_ATTACH before any C run-time routines are
  6535. called, and it must be called on PROCESS_DETACH after all run-time routines
  6536. are called.
  6537.  
  6538. Please note the two lines that are only for the October beta. The calling of
  6539. _heap_init will not be necessary in the next release of the libraries.
  6540.  
  6541. I hope that this helps,
  6542.  
  6543.  Doug Olson
  6544.  Microsoft Developer Support
  6545.  
  6546.  
  6547.  BOOL _stdcall DllEntryPoint(HANDLE hDll, DWORD dwReason,
  6548.                              LPVOID lpReserved)
  6549.  {
  6550.     /* These two lines are only needed with the October Beta */
  6551.  
  6552.     void __cdecl _heap_init(void);
  6553.     if ( dwReason == DLL_PROCESS_ATTACH ) _heap_init();
  6554.  
  6555.     /* Initialize the C Run-Time *BEFORE* any
  6556.        user code initialization */
  6557.  
  6558.     if ( dwReason == DLL_PROCESS_ATTACH ||
  6559.          dwReason == DLL_THREAD_ATTACH )
  6560.         if (!_CRT_INIT(hDll, dwReason, lpReserved))
  6561.             return fFalse ;
  6562.  
  6563.     /* Call LibMain() on process initialization */
  6564.  
  6565.         if ( dwReason == DLL_PROCESS_ATTACH ) LibMain();
  6566.  
  6567.     /* This is a place for more user code DLL init/term */
  6568.  
  6569.  
  6570.     /*Terminate the C Run-Time *AFTER* all user code
  6571.       termination */
  6572.  
  6573.     if ( dwReason == DLL_PROCESS_DETACH ||
  6574.          dwReason == DLL_THREAD_DETACH )
  6575.         if (!_CRT_INIT(hDll, dwReason, lpReserved))
  6576.             return fFalse ;
  6577.  
  6578.         return fTrue;
  6579.  }
  6580.  
  6581. #: 16596 S7/Tools-Microsoft   
  6582.     04-Nov-92  10:38:23
  6583. Sb: CL386 Problems
  6584. Fm: Chuck Atwood 76004,1602
  6585. To: sysop (X)
  6586.  
  6587. Problems with CL386 compiler for NT.  I am lumping them altogether
  6588. since they seem to be related to the evaluation of macro variables
  6589. during prototyping or compilation.
  6590.  
  6591. I had the same problem prototyping which has already been reported:
  6592.         INTERNAL COMPILER ERROR in WINUSER.H at line 111.
  6593.  
  6594. After commenting out lines 111 and 112 (wsprintf*) I was able to
  6595. prototype most c files.  However, the evaluation of macro expressions
  6596. created other compiler errors.
  6597.  
  6598. Problem evaluating #if expressions during prototyping (-Zg).  We use
  6599. the standard #if (WINVER >= 0x030a) contruct used in windows.h for
  6600. a define CADVER.  This generates a fatal error:
  6601.  
  6602.         "integer error evaluation expression".
  6603.  
  6604.         #if (CADVER >= 300)
  6605.                 ...
  6606.         #endif
  6607.  
  6608. Also simple tests fail, e.g.:
  6609.  
  6610.         #define DEBUGDB         0
  6611.  
  6612.         #if DEBUGDB
  6613.                 ...
  6614.         #endif
  6615.  
  6616. CL386: Problem evaluation simple expressions.  The following code fragment
  6617. generates a "overflow in floating point constant arithmetic":
  6618.  
  6619.         #define CHORD_TOLERANCE         0.00015
  6620.  
  6621.         double d;
  6622.         d = CHORD_TOLERANCE * 1440;
  6623.  
  6624. CL386: -Zs compile switch not implemented.
  6625.  
  6626. CL386:  INTERNAL COMPILER ERROR when compiling YACC generated source
  6627. file.  Always fails in ?????.A which is a large switch statement.
  6628.  
  6629. Chuck Atwood (Foresight Resources Corporation)
  6630.  
  6631.  
  6632. There is 1 Reply.
  6633.  
  6634. #: 16776 S7/Tools-Microsoft   
  6635.     05-Nov-92  17:32:38
  6636. Sb: #16596-CL386 Problems
  6637. Fm: Doug Olson [Microsoft] 72350,2635
  6638. To: Chuck Atwood 76004,1602 (X)
  6639.  
  6640. Chuck:
  6641.  
  6642. Thanks for the problem report.  I will report these problems to development
  6643. and let you know the status.
  6644.  
  6645. Thanks,
  6646.  
  6647.  Doug Olson
  6648.  Microsoft Developer Support
  6649.  
  6650. #: 16418 S7/Tools-Microsoft   
  6651.     02-Nov-92  18:14:16
  6652. Sb: C++/NT Oct -> July
  6653. Fm: Alex Bronstein 75070,2452
  6654. To: Colin Stuart [Microsoft] 70744,25 (X)
  6655.  
  6656.  
  6657. How many of you C++ programmers are dropping Oct NT and going back to July NT
  6658. ?
  6659.  
  6660.  
  6661. Microsoft: in light of the C++ bugs you're seeing in the Oct NT release, would
  6662. you recommend going back to the July NT release (for C++) ?
  6663.  
  6664.  
  6665. Everybody (and apologies if this is a heresy here): is there a good Borland
  6666. C++ solution for NT development available yet?
  6667.  
  6668. Thanks,
  6669.                                Alex
  6670.  
  6671.  
  6672.  
  6673.  
  6674. There are 2 Replies.
  6675.  
  6676. #: 16455 S7/Tools-Microsoft   
  6677.     03-Nov-92  08:48:05
  6678. Sb: #16418-C++/NT Oct -> July
  6679. Fm: Bill Cohagan 74375,313
  6680. To: Alex Bronstein 75070,2452 (X)
  6681.  
  6682. Alex-
  6683.   I'm afraid I'm about to drop back to the July release.  My application won't
  6684. compile under the Oct release.  Unfortunately that same app wouldn't *link*
  6685. correctly under the July release, but at least I figured out a workaround. 
  6686. Not so with the current compiler problem (fatal compiler error.)
  6687.  
  6688.   Although I would have liked an instant fix from MS on this forum there has
  6689. been no fix/workaround forthcoming.  In fairness, I think MS is responding as
  6690. best they can under the circumstances, but I'm still left high and dry. I'm
  6691. just hoping we don't have to wait another major release cycle to get fixes for
  6692. these compiler problems. Surely MS is aware of how these problems are
  6693. impacting developers' efforts.
  6694.  
  6695. Bill
  6696.  
  6697. #: 16510 S7/Tools-Microsoft   
  6698.     03-Nov-92  16:23:47
  6699. Sb: #16418-C++/NT Oct -> July
  6700. Fm: Peter Handsman[Inmark] 70550,2570
  6701. To: Alex Bronstein 75070,2452 (X)
  6702.  
  6703. Alex,
  6704.  
  6705. Most of the bugs i've seen in the oct'92 c++ compiler seem to have
  6706. workarounds, not that that's an escuse - but environment wise the october
  6707. version is much better.
  6708.  
  6709. Of course, their are 3-4 bug reports i'll be making as soon as I get them
  6710. written up....
  6711.  
  6712. Peter
  6713.  
  6714.  
  6715.  
  6716. There is 1 Reply.
  6717.  
  6718. #: 16670 S7/Tools-Microsoft   
  6719.     04-Nov-92  18:37:38
  6720. Sb: #16510-C++/NT Oct -> July
  6721. Fm: Doug Olson [Microsoft] 72350,2635
  6722. To: Peter Handsman[Inmark] 70550,2570 (X)
  6723.  
  6724. Peter:
  6725.  
  6726. Please report any bugs to us that you find in the October release.  We are
  6727. investigating the bugs that have been reported so far, and would like to hear
  6728. about any others that are being encountered.
  6729.  
  6730. We are working to find solutions to these problems.
  6731.  
  6732. Sincerely,
  6733.  
  6734.  Doug Olson
  6735.  Microsoft Developer Support
  6736.  
  6737.  
  6738.  
  6739.  
  6740. There is 1 Reply.
  6741.  
  6742. #: 16701 S7/Tools-Microsoft   
  6743.     05-Nov-92  00:04:26
  6744. Sb: #16670-C++/NT Oct -> July
  6745. Fm: Peter Handsman[Inmark] 70550,2570
  6746. To: Doug Olson [Microsoft] 72350,2635 (X)
  6747.  
  6748. Doug,
  6749.  
  6750. I didn't mean to imply that the tools are not being worked on, and
  6751. considering what the tools looked like several months ago they are
  6752. improving.  It's just disapointing to see things which seemed to work
  6753. better in prior versions.  Esp the C++ parser in cl386.
  6754.  
  6755. Here is code for a bug where under some circumstances the constructor
  6756. syntax of "classname(paramater)" is not accepted and
  6757. "(classname)paramater" is accepted.
  6758.  
  6759. class Id {
  6760. public:
  6761.         Id(int) {}
  6762. };
  6763.  
  6764.  
  6765. class Other {
  6766. public:
  6767.         Other(Id);
  6768. };
  6769.  
  6770. void func(int xx) {
  6771.         Other *off;
  6772.         Other ot(Id(1));                // Compiles
  6773.         Other ot2((Id)1);               // Compiles
  6774.         Other ot3(Id(xx));              // Compiles
  6775.         Other ot4((Id)xx);              // Compiles
  6776.         off=new Other((Id)xx);  // Compiles
  6777.         off=new Other(Id(xx));  // Syntax error as follows:
  6778.  
  6779. #: 16777 S7/Tools-Microsoft   
  6780.     05-Nov-92  17:32:41
  6781. Sb: #16701-C++/NT Oct -> July
  6782. Fm: Doug Olson [Microsoft] 72350,2635
  6783. To: Peter Handsman[Inmark] 70550,2570 (X)
  6784.  
  6785. Peter:
  6786.  
  6787. Thank you for reporting these problems.  I am going to forward this
  6788. information on to development and also look into your questions.
  6789.  
  6790. Thanks,
  6791.  
  6792.  Doug Olson
  6793.  Microsoft Developer Support
  6794.  
  6795. #: 16789 S7/Tools-Microsoft   
  6796.     05-Nov-92  19:09:33
  6797. Sb: NMAKE problems
  6798. Fm: Chuck Atwood 76004,1602
  6799. To: ssyop
  6800.  
  6801. NMAKE doesn't check dependencies correctly for directories.  The
  6802. following makefile works using NMAKE from C7 with DOS 5.0 but will
  6803. display "'CHUCK' is up-to-date" in the MSDOS window under NT.
  6804. I am using the FAT file system.  Make a directory CHUCK and type:
  6805. NMAKE -f NTBAD.MAK.
  6806.  
  6807.         # NTBAD.MAK
  6808.         # author: cla
  6809.  
  6810.         DIRS = CHUCK
  6811.  
  6812.         $(DIRS):
  6813.                 cd $(*)
  6814.                 copy ..\ntbad.mak .
  6815.                 cd..
  6816.  
  6817.         # [EndOfMake]
  6818.  
  6819. P.S. NMAKE needs !ELSE which is available in 3.1/C700 SDK.
  6820.  
  6821. Chuck Atwood (Foresight Resources Corporation)
  6822.  
  6823. #: 16606 S7/Tools-Microsoft   
  6824.     04-Nov-92  11:09:02
  6825. Sb: Backup/Restore problem
  6826. Fm: Apostolos Karmirantzos 75070,2354
  6827. To: all
  6828.  
  6829.   I was trying to copy a few files from one NT machine to another. The files
  6830. were some executables and a few archive files. Everything seemed to work fine,
  6831. but when I tried to execute the file, I got the error
  6832.        "Failed to initialize properly, address 0xc000000005" or something like
  6833. that. When I looked at the files, they seemed to have the correct size.
  6834.   The way I finally managed to copy the files was to use backup and restore
  6835. from simple DOS (not DOS under NT). So I assume that backup/restore under NT
  6836. has some problems.
  6837.        Apostolos
  6838.  
  6839.  
  6840.  
  6841.  
  6842. There is 1 Reply.
  6843.  
  6844. #: 16794 S7/Tools-Microsoft   
  6845.     05-Nov-92  19:51:34
  6846. Sb: #16606-Backup/Restore problem
  6847. Fm: David Taniguchi [MS] 72350,2054
  6848. To: Apostolos Karmirantzos 75070,2354 (X)
  6849.  
  6850. Hi Apostolos,
  6851.   Thanks for the problem report.  Please post this in section 7 (Utilities/
  6852.   Applets) of Forum WinNT.  They are more familiar with the system utilities
  6853.   and non-sdk issues.  Thanks,  Dave
  6854.  
  6855. #: 16594 S7/Tools-Microsoft   
  6856.     04-Nov-92  10:36:57
  6857. Sb: NTSD and SECOND CHANCE
  6858. Fm: Mike Payne 71062,3342
  6859. To: Anyone
  6860.  
  6861. Hi, Perhaps someone can help me. I want to turn off the way the ntsd comes up
  6862. on "SECOND CHANCE" after my application crashes. THis is so that I can run an
  6863. automated series of tests, which note what crashes anyway. Thanks, Chris Hall
  6864.  
  6865. There is 1 Reply.
  6866.  
  6867. #: 16795 S7/Tools-Microsoft   
  6868.     05-Nov-92  19:51:40
  6869. Sb: #16594-NTSD and SECOND CHANCE
  6870. Fm: David Taniguchi [MS] 72350,2054
  6871. To: Mike Payne 71062,3342
  6872.  
  6873. Hi Mike,
  6874.   One way you could do this is put a try-except around your whole program.
  6875.   And then the exception handler does nothing.  If I find a better way to
  6876.   do this, i'll post here.
  6877.   Thanks,
  6878.   Dave
  6879.  
  6880. #: 16809 S7/Tools-Microsoft   
  6881.     06-Nov-92  04:49:31
  6882. Sb: Test for NT
  6883. Fm: Dan Sullivan 76327,1534
  6884. To: SYSOP (X)
  6885.  
  6886. I am interested in when Test for NT will be available? Any predictions?
  6887.  
  6888. Thanks in advance Dan
  6889.  
  6890. #: 16814 S7/Tools-Microsoft   
  6891.     06-Nov-92  08:35:33
  6892. Sb: Windbg crashes
  6893. Fm: David Edge 75170,1461
  6894. To: all
  6895.  
  6896. I am using Windbg to debug a C++ application.  So far, I have had reasonably
  6897. good success.  I am having two problems though. 
  6898.  
  6899. The first problem is expanding classes in the local variable window.  Many
  6900. times, when I try to do this, I get the application error message: "The
  6901. instruction at 0x400133F5 referenced memory at 0x00000000.  The memory could
  6902. not be "read"."  This is very frustrating to get deep into debugging, need to
  6903. look at the values in a class and know that if I click on it to expand it it
  6904. may be the end of the debug session. 
  6905.  
  6906. The second problem is that it seems like the local variable window is not
  6907. always updated properly.  Sometimes when I reach a breakpoint,  the values do
  6908. not look correct so I go over to the command window and look at them there and
  6909. the values are different.  Closing and reopening the window causes the values
  6910. to be correct again.
  6911.  
  6912. Overall, I really like Windbg.  It took a while to get used to it because I
  6913. really liked two monitor debugging in Win 3.1 with an 8514 and a 50 line VGA
  6914. codeview screen.  The debugger seems very sluggish.  Single stepping takes a
  6915. long time and startup is pretty slow.  It also takes a long time to restore
  6916. all of the windows on startup.  Are there plans to improve its performance?
  6917.  
  6918. #: 16384 S7/Tools-Microsoft   
  6919.     02-Nov-92  15:21:01
  6920. Sb: link/problem with errno
  6921. Fm: Apostolos Karmirantzos 75070,2354
  6922. To: all
  6923.  
  6924.   When I try to link my program using the predefined $(guilibsmt) symbol, link
  6925. reports that _errno is undefined. When I link with c:\mstools\lib\*.lib, the
  6926. link works fine. Unfoprtunatly, if you link with all the libraries, there is a
  6927. conflict between some libraries about errno, so errno isn't updated correctly.
  6928.   My program uses errno to decide if some file operations are succesfull or
  6929. not, and if not takes the neccesary corrective actions. So there isn't the
  6930. option of not using errno. Which are the correct libraries to link with so
  6931. errno is defined? (My program is a windows multithread application)
  6932.        Thanks in advance
  6933.                Lakis
  6934.  
  6935.  
  6936.  
  6937.  
  6938. There are 2 Replies.
  6939.  
  6940. #: 16523 S7/Tools-Microsoft   
  6941.     03-Nov-92  17:28:52
  6942. Sb: #16384-link/problem with errno
  6943. Fm: Doug Olson [Microsoft] 72350,2635
  6944. To: Apostolos Karmirantzos 75070,2354 (X)
  6945.  
  6946. Apostolos:
  6947.  
  6948. I am checking into this problem and will get back with you as soon as
  6949. possible.
  6950.  
  6951. Sincerely,
  6952.  
  6953.  Doug Olson
  6954.  Microsoft Developer Support
  6955.  
  6956. #: 16661 S7/Tools-Microsoft   
  6957.     04-Nov-92  16:55:16
  6958. Sb: #16384-link/problem with errno
  6959. Fm: Doug Olson [Microsoft] 72350,2635
  6960. To: Apostolos Karmirantzos 75070,2354 (X)
  6961.  
  6962. Apostolos:
  6963.  
  6964. Please make sure you are doing the following:
  6965.  
  6966.  1. Using $(guilibsmt) on your link line
  6967.  2. Using $(cvarsmt) instead of $(cvars) on your compile line
  6968.  3. Do not extern errno in your code
  6969.  
  6970. With the above configuration I was able to successfully link.  Please let me
  6971. know what happens.
  6972.  
  6973. Thanks,
  6974.  
  6975.  Doug Olson
  6976.  Microsoft Developer Support
  6977.  
  6978.  
  6979.  
  6980.  
  6981. There is 1 Reply.
  6982.  
  6983. #: 16819 S7/Tools-Microsoft   
  6984.     06-Nov-92  10:22:25
  6985. Sb: #16661-link/problem with errno
  6986. Fm: Apostolos Karmirantzos 75070,2354
  6987. To: Doug Olson [Microsoft] 72350,2635 (X)
  6988.  
  6989.   Thanks for the info. I managed to compile/link with no problem about errno.
  6990. The problem was that I was using $(cvars) indetad of $(cvarsmt). Next time I
  6991. should read the manual first.
  6992.   Thanks again.
  6993.         Lakis
  6994.  
  6995. #: 16408 S7/Tools-Microsoft   
  6996.     02-Nov-92  16:42:05
  6997. Sb: Efficient try/except ??
  6998. Fm: Bill Cohagan 74375,313
  6999. To: sysop (X)
  7000.  
  7001. How efficient is it to use try/except?  I'm considering using a write
  7002. protected page as a boundary for some memory being managed by my app.  This
  7003. way I can just use the write protect violation as a signal that I need to
  7004. increase the memory size.  The alternative is to do a threshold compare each
  7005. time I allocate a chunk.  Due to other considerations it appears that I'd have
  7006. to wrap the individual assignment operation with the try/except; e.g.,
  7007.  
  7008.  try{
  7009.    i += len;
  7010.    foo[i] = 0;
  7011.  } except ( handle write protect fault )
  7012.  {
  7013.   ...
  7014.  }
  7015.  
  7016. The idea is that I can unprotect that page and let the operation proceed in
  7017. *most* cases.  So is the above likely to be more efficient than:
  7018.  
  7019.  i += len;
  7020.  if (i > threshold) ...handle overflow...
  7021.  else foo[i] = 0;
  7022.  
  7023. My guess is that the threshold check is quicker 'cause the try has got to do
  7024. some setup in order to arrange to catch the protection violation, right?
  7025.  
  7026. Bill
  7027.  
  7028. There are 2 Replies.
  7029.  
  7030. #: 16524 S7/Tools-Microsoft   
  7031.     03-Nov-92  17:28:57
  7032. Sb: #16408-Efficient try/except ??
  7033. Fm: Doug Olson [Microsoft] 72350,2635
  7034. To: Bill Cohagan 74375,313 (X)
  7035.  
  7036. Bill:
  7037.  
  7038. I have someone looking into this issue.  I will get back with you as soon as
  7039. possible.
  7040.  
  7041. Sincerely,
  7042.  
  7043.  Doug Olson
  7044.  Microsoft Developer Support
  7045.  
  7046. #: 16824 S7/Tools-Microsoft   
  7047.     06-Nov-92  11:06:39
  7048. Sb: #16408-Efficient try/except ??
  7049. Fm: Doug Olson [Microsoft] 72350,2635
  7050. To: Bill Cohagan 74375,313 (X)
  7051.  
  7052. Bill:
  7053.  
  7054. This has been an interesting question.
  7055.  
  7056. >>My guess is that the threshold check is quicker 'cause the try has got to do
  7057. some setup in order to arrange to catch the protection violation, right?
  7058.  
  7059. I think you are right, the threshold check would be quicker. To use try/except
  7060. more efficiently, I suggest putting the try/except around the loop.  This
  7061. method would be faster than the threshold check.
  7062.  
  7063.  Sincerely,
  7064.  
  7065.  Doug Olson
  7066.  Microsoft Developer Support
  7067.  
  7068. #: 16626 S7/Tools-Microsoft   
  7069.     04-Nov-92  13:33:18
  7070. Sb: help
  7071. Fm: Rob Tessier 76666,3633
  7072. To: all
  7073.  
  7074. I am in the process of porting and .exe and several supporting .dlls to the
  7075. Oct release of Win32/NT.  Supposedly, only one set of sources is needed to
  7076. support both win32 and win3.x but as I get more into it, it seems almost
  7077. unavoidable to have separate sources.  How do I combine the differences in the
  7078. makefiles and .def file?  Win32 doesn't require the stack and heapsize fields
  7079. in the def file, how do I exclude them when building for win32?
  7080.  
  7081. Also, it appears that the hardbound docs I got with the July release is just a
  7082. copy of the win3.x/C7.0 docs with NT stuck in place of 3.x/c7.0. Some of the
  7083. NMAKE options described are not supported as the docs say they are plus the
  7084. cl386 compiler doc still talks segmentation and memory models. Is there some
  7085. accurate docs for the SDK tools so I can reference legit info? I tried using
  7086. !ifdef $(win32) in my make script to isolate win32 builds from win16 builds
  7087. and nmake keeps complaining about that line.
  7088.  
  7089. Rob
  7090.  
  7091. There is 1 Reply.
  7092.  
  7093. #: 16793 S7/Tools-Microsoft   
  7094.     05-Nov-92  19:51:29
  7095. Sb: #16626-help
  7096. Fm: David Taniguchi [MS] 72350,2054
  7097. To: Rob Tessier 76666,3633 (X)
  7098.  
  7099. Hi Rob,
  7100.   Try looking at the Generic sample (in mstools\samples\generic).  This
  7101.   provides a good example of how to isolate the Win16/Dos differences.
  7102.   What it boils down to is the following statements:
  7103.   !IF "$(CPU)" != ""
  7104.   OS=NT
  7105.   ENV=WIN32
  7106.   !ELSE
  7107.   OS=DOS
  7108.   ENV=WIN16
  7109.   !ENDIF
  7110.   !include <$(OS)$(ENV).MAK>
  7111.  
  7112.   In NT environments, the NTWIN32.MAK environment specific details can be
  7113.   defined (like the libraries, (guilibs, conlibs), etc.)
  7114.   In DOS, DOSWIN16.MAK will be included.
  7115.   You also mentioned the module definition file.  In the Generic example
  7116.   makefile, they handle this in the following way:
  7117.  
  7118.   !IFDEF CPUTYPE
  7119.   # This is for Windows NT
  7120.      $(cvtobj) $(cvtdebug) *.obj
  7121.      link -link $(linkdebug) $(guiflags) $(proj).obj ....
  7122.   !ENDIF
  7123.   !IFNDEF CPUTYPE
  7124.   # This is for Windows DOS
  7125.      $(link) $(guiflags) ... $(proj).def
  7126.      rc ...
  7127.   !ENDIF
  7128.   As for documentation, try looking at the Compiler Tools Help (In general
  7129.   the Win Help files are more recent than the hard copy docs).
  7130.   (To start it, type winhlp32 <sdkdrive>:\mstoools\bin\tools.hlp)
  7131.  
  7132.   Hope this helps,
  7133.   Dave
  7134.  
  7135.  
  7136.  
  7137.  
  7138.  
  7139.  
  7140.   You mentioned the
  7141.  
  7142.  
  7143.  
  7144.  
  7145. There is 1 Reply.
  7146.  
  7147. #: 16836 S7/Tools-Microsoft   
  7148.     06-Nov-92  11:45:43
  7149. Sb: #16793-help
  7150. Fm: Rob Tessier 76666,3633
  7151. To: David Taniguchi [MS] 72350,2054 (X)
  7152.  
  7153. Your suggestions were very helpfull, Thanks.  But one thing I didn't deduce
  7154. from the GENERIC samples is what should the output filenames be named if I
  7155. intend to support both 16 and 32 bit Windows environments? Because I'm
  7156. guessing the import libs, and dlls I built under NT are not compatible with
  7157. Win16, I appended 'w32' to the filename to keep them separate from their 16
  7158. bit counterparts.  For instance, my dirs have:
  7159.  
  7160.  [c:\lvwindev\lib]                       [c:\lvwindev\exe]
  7161.  util.lib     utilw32.lib               util.dll    utilw32.dll
  7162.  graph.lib    graphw32.lib              graph.dll   graphw32.dll
  7163.  
  7164. Is this recommended?  I found if I tried to use the import lib built from
  7165. Win3.0, the NT linker complains.  I haven't tried the reverse yet to see if I
  7166. try to link under Win3.0 with the import libs generated from NT.
  7167.  
  7168. Could you please clarify the recommended procedure for developing from the
  7169. same source code, yet supporting Win3.x and Win32?
  7170.  
  7171. Rob T.
  7172.  
  7173. #: 16838 S7/Tools-Microsoft   
  7174.     06-Nov-92  13:25:52
  7175. Sb: Windbg and "mdb"
  7176. Fm: Jake Kirk 76207,1403
  7177. To: sysop (X)
  7178.  
  7179. I can seem to be able to "mdb" or memory dump bytes under the debugger.
  7180. this feature is available under codeview.  how would one do this under NT?  
  7181. for example I want to dump bytes starting at the address of a variable for a
  7182. length of 100 bytes.
  7183.  
  7184. ? mdb my_var L 100 < cr >
  7185.  
  7186. would be the way to do it under codeview.                              
  7187. //Jake.
  7188.  
  7189. #: 16839 S7/Tools-Microsoft   
  7190.     06-Nov-92  13:28:55
  7191. Sb: NT Windbg
  7192. Fm: Chester L. Kloss 72311,743
  7193. To: sysop (X)
  7194.  
  7195. I'm attempting to debug an application which uses the MFC library.  When I
  7196. enter windbg with my app it (windbg) can't find the source files for MFC
  7197. because (I guess) they are in the MFC\src directory. How do I solve this. I
  7198. thought maybe I have to copy all the sources for MFC into my codes directory.
  7199. Or, do I have to recompile the MFC library in with some "new" targets, models
  7200. etc. ? 
  7201.  
  7202. Also is quickwatch disabled in october release of NT?
  7203.  
  7204. Finally, how do I get windbg when it starts up an app to automatically put the
  7205. current program location cursor on winmain, I usually execute trace into to
  7206. get me there?
  7207.  
  7208. Thanks
  7209.  
  7210. #: 16848 S7/Tools-Microsoft   
  7211.     06-Nov-92  14:44:03
  7212. Sb: MIPS Link
  7213. Fm: Howard Myers 76711,462
  7214. To: Microsoft
  7215.  
  7216. I'm trying to port our app. to the MIPS platform.  I've ported several small
  7217. apps. successfully, but in porting our largest app., I can't link it.  Every
  7218. time I try, after all the link commands have been issued, including the list
  7219. of files, I very quickly get the following messages:
  7220.         LINK() : error 0102: Out of memory
  7221.         Extended Error: No such file or directory
  7222.         NMAKE : fatal error U1077: ....... I am linking approximately 90 files
  7223. that comprise 8.5 MBytes of disk space. These have been converted using
  7224. MIP2COFF without the -c option.  Initially, I tried using the -c option with
  7225. the same results, but the files ate 22 MBytes, so I tried it without.
  7226.  
  7227. I have 32 Meg of RAM, 100 Meg of free disk space, and 90 Meg allocated for the
  7228. System Paging File.  Needless to say, I can't understand why I'm running out
  7229. of memory!
  7230.  
  7231. I'm assuming that the Out of memory error, since it comes first, is the
  7232. legitimate error, and that the no such file or directory is a side effect.
  7233.  
  7234. I'm supposed to have this up to demo in the Microsoft 3rd party booth at
  7235. COMDEX, so admittedly, I'M DESPARATE!
  7236.  
  7237. I'm posting this in both the Tools and MIPS sections, because I can't afford
  7238. the delay to re-post it if I put it in the wrong place.  (I don't want to
  7239. waste your time by having 2 people simultaneously tracking the same problem. 
  7240. Likewise, please don't drop it, assuming the other section's taking care of
  7241. it.)
  7242.  
  7243. Thanks!!!!!!
  7244.  
  7245. #: 16640 S7/Tools-Microsoft   
  7246.     04-Nov-92  15:08:32
  7247. Sb: KD and NTSD setup
  7248. Fm: Tim Stevenson [NCD PC-X] 71041,1465
  7249. To: Sysop (X)
  7250.  
  7251. I have just completed setting up my second NT system with KD and have verified
  7252. that the two systems talk to one another via the serial ports. I start KD on
  7253. the "debugger" machine and get a
  7254.        KD: waiting to connect message On the target machine I start NTSD with
  7255.        ntsd -d hooks.exe I immediately get an Application Error dialog from
  7256. NTSD.EXE stating the following:
  7257.        The exception "Breakpoint
  7258.        A breakpoint has been reached in the source program.
  7259.        "(0x80000003) occured in the application at location
  7260.        0x6010a3f4
  7261.  
  7262. When I click on Cancel I am in NTSD.EXE at ntdll!_DebugService+0x14.
  7263.  
  7264. I believe I have followed what instructions I have been able to find for the
  7265. setup of KD and NTSD but I have not been able to get it to work. If you are
  7266. asking why I am going to all this trouble, its because I need to be able to
  7267. debug system hooks and NTSD is not able to debug code that hooks keyboard and
  7268. mouse events.
  7269.  
  7270.  
  7271.  
  7272.  
  7273.  
  7274. There is 1 Reply.
  7275.  
  7276. #: 16774 S7/Tools-Microsoft   
  7277.     05-Nov-92  17:08:26
  7278. Sb: #16640-KD and NTSD setup
  7279. Fm: Petrus Wong [Microsoft] 70743,3355
  7280. To: Tim Stevenson [NCD PC-X] 71041,1465
  7281.  
  7282. Hello Tim:
  7283.  
  7284.  Is your target machine sending debug messages to the i386kd (or Mipskd) when
  7285. it boots? You may run the i386kd on the debugger with the -v option to put it
  7286. in the verbose mode.  (Do i386kd -? for detail.)  If the -v option is used,
  7287. then you should see screenful of debug messages as the target machine boots.
  7288.  
  7289.  If you don't see the debug message as the target boots, then you should check
  7290. to make sure if the target machine is running in debug mode.  On x86, the
  7291. boot.ini file should not specify the /NODEBUG on the os line.  On MIPS, check
  7292. the environment variable on the bottom of your blue screen before booting.
  7293.  
  7294.  If the target is indeed in debug mode, check the serial line.  On x86, the
  7295. target graps the highest com port for debugging.  You will see the message
  7296. "debugger using com2" displayed on the top of the blue screen if your machine
  7297. has two com port.  This com port should be connected to com1 on the debugger
  7298. (or to the port specified by the _nt_debug_port environment variable.
  7299.  
  7300.  Finally check to make sure you have the right cable and no hardware conflict
  7301. on the com port.
  7302.  
  7303.  Hope this helps,
  7304.  petrus
  7305.  
  7306.  
  7307.  
  7308.  
  7309.  
  7310. There is 1 Reply.
  7311.  
  7312. #: 16852 S7/Tools-Microsoft   
  7313.     06-Nov-92  15:42:41
  7314. Sb: #16774-KD and NTSD setup
  7315. Fm: Scott Alexander 76556,557
  7316. To: Petrus Wong [Microsoft] 70743,3355 (X)
  7317.  
  7318. Petrus
  7319.  
  7320.  <pmji>
  7321.  
  7322.  > Finally check to make sure you have the right cable and no hardware
  7323. conflict
  7324.  on the com port.
  7325.  <
  7326.  
  7327.  Since I am about to start dual machine debugging code, what is the right
  7328. cable?  I heard this mentioned at the DDC also, but never found out if I
  7329. needed a modem cable, a straight thru or a "null modem" cable.
  7330.  
  7331. Is this documented somewhere ? (I do not have the 3.1 ddk, only the NT ddk,
  7332. which has no docs yet)
  7333.  
  7334.  Thanks
  7335.  
  7336. #: 16714 S7/Tools-Microsoft   
  7337.     05-Nov-92  08:19:34
  7338. Sb: New NT RC?
  7339. Fm: Mike Bailey 70760,112
  7340. To: Tools-Microsoft
  7341.  
  7342. Will the released version of the NT SDK still use the Windows 3.X resource
  7343. compiler along with the CVTRES.EXE program?  We have a situation where we
  7344. replace the resource in a executable.  Will we still be able to do this under
  7345. NT or will we have to re-link all of the objs again?
  7346.  
  7347. There is 1 Reply.
  7348.  
  7349. #: 16859 S7/Tools-Microsoft   
  7350.     06-Nov-92  16:10:34
  7351. Sb: #16714-New NT RC?
  7352. Fm: Steve Firebaugh [MS] 75430,412
  7353. To: Mike Bailey 70760,112
  7354.  
  7355. Mike Bailey,
  7356.  
  7357. At the moment, there is no utility to modify the resources built into an
  7358. executable without relinking.  There may be a tool, by the final release of
  7359. the SDK, but the decision has not been made yet one way or the other.  Please
  7360. notice that there are three new API's which would make writing your own
  7361. utility pretty straightforward:  BeginUpdateResource, UpdateResource, and
  7362. EndUpdateResource.
  7363.  
  7364. Incidentally, the resource compiler included on the Windows/NT SDK is
  7365. different from the 3.1 resource compiler.  For example, the new RC writes out
  7366. strings in unicode.  The CVTRES program is used to convert the RES file to an
  7367. object module format compatible with what the linker expects. I believe that
  7368. CVTRES will continue to exist through the first release, but there are some
  7369. people who would like to incorporate its function into either the linker or
  7370. into RC.
  7371.  
  7372. Steve Firebaugh
  7373.  
  7374. #: 16813 S7/Tools-Microsoft   
  7375.     06-Nov-92  08:30:30
  7376. Sb: New NT RC.EXE
  7377. Fm: Mike Bailey 70760,112
  7378. To: sysop (X)
  7379.  
  7380. Will the released version of the Win32 SDK contain a Win32 version of the
  7381. resource compiler, instead of the Win 3.X version and the CVTRES.EXE program? 
  7382. We need to replace a resource after the executable has been linked.  Will
  7383. there be a way of doing this in the future without re-linking the entire
  7384. program?
  7385.  
  7386. There is 1 Reply.
  7387.  
  7388. #: 16860 S7/Tools-Microsoft   
  7389.     06-Nov-92  16:10:38
  7390. Sb: #16813-New NT RC.EXE
  7391. Fm: Steve Firebaugh [MS] 75430,412
  7392. To: Mike Bailey 70760,112
  7393.  
  7394. Mike Bailey,   I just answered these questions in reponse to your message #
  7395. 16714.  In general, if you do not hear a reponse within two working days, it
  7396. is a good idea to re-post the question.  If it has been less than two working
  7397. days, we are probably still working on the answer.  Thanks,
  7398.  
  7399. Steve Firebaugh
  7400.  
  7401. #: 16865 S7/Tools-Microsoft   
  7402.     06-Nov-92  16:55:58
  7403. Sb: MFC & CRTDLL
  7404. Fm: dan white 70324,3147
  7405. To: sysop (X)
  7406.  
  7407.  
  7408. I am unsure how to compile MFC for use with CRTDLL.DLL.  If I compile
  7409.         with _DLL defined, MFC will think its in a DLL, right? Also, MFC uses
  7410.         routines like __doserrno which bon't seem to be in in CRTDLL.LIB. 
  7411. Which
  7412.         compile switches am I supposed to use?
  7413.  
  7414.         Also, how do I view TRACE output under NT?  Is it supposed to come up
  7415. in Windbg
  7416.         (it doesn't seem to)?
  7417.  
  7418.  
  7419.                                 Thanks, Dan
  7420.  
  7421. #: 16431 S7/Tools-Microsoft   
  7422.     02-Nov-92  20:03:44
  7423. Sb: MFC/DLL
  7424. Fm: Jim Conger 73220,324
  7425. To: ALL
  7426.  
  7427. I'm having trouble converting a DLL based on the MFC classes from Windows 3.1
  7428. to Windows NT.  Although both the DLL and EXE compile fine, the linker can't
  7429. find the exported function from the DLL.  I'm using the following linker
  7430. command line to create the DLL and export library:
  7431.  
  7432.   coff -link -DLL -base:0x1C000000 \
  7433.   -subsystem:windows -entry:WinMainCRTStartup -machine:i386 \
  7434.   -out:MYDLL.dll MYDLL.obj nafxcw.lib libc.lib ntdll.lib \
  7435.   winspool.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib \
  7436.   version.lib
  7437.  
  7438.   lib -out:MYDLL.lib -def:MYDLL.def -machine:i386
  7439.  
  7440. (I'm suspicious that the entry point should be something other than
  7441. WinMainCRTStartup.  I tried LibMain, but that resulted in an unresolved
  7442. external.)
  7443.  
  7444. The real problem surfaces when I try to link the EXE that uses the DLL.  The
  7445. linker does not find the exported function in MYDLL.LIB.  Here is the linker
  7446. call for the EXE:
  7447.  
  7448.   coff -link -subsystem:windows -entry:WinMainCRTStartup \
  7449.   -out:MYEXE.exe MYEXE.obj nafxcw.lib libc.lib ntdll.lib \
  7450.   winspool.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib \
  7451.   version.lib MYDLL.lib
  7452.  
  7453. I verified that the MYDLL.lib export library exists and contains the correct
  7454. name for the exported function (declared _extern "C" to avoid name mangling).
  7455. Clearly the linker is not finding that exported function name, but I cannot
  7456. figure out why.  Any ideas?
  7457.  
  7458. Jim Conger
  7459.  
  7460. There is 1 Reply.
  7461.  
  7462. #: 16825 S7/Tools-Microsoft   
  7463.     06-Nov-92  11:06:54
  7464. Sb: #16431-MFC/DLL
  7465. Fm: Doug Olson [Microsoft] 72350,2635
  7466. To: Jim Conger 73220,324 (X)
  7467.  
  7468. Jim:
  7469.  
  7470. It appears that my previous message did not get to you.  In any case, I have a
  7471. few questions regarding this problem.
  7472.  
  7473.  1. What is the exported name in your MYDLL.LIB file?
  7474.  
  7475.  2. Is your calling program C or C++?
  7476.  
  7477.  3. How is the imported function prototyped in your calling program?
  7478.  
  7479. I look forward to your answers,
  7480.  
  7481.  Doug Olson
  7482.  Microsoft Developer Support
  7483.  
  7484. #: 16868 S7/Tools-Microsoft   
  7485.     06-Nov-92  17:36:37
  7486. Sb: MFC/DLL
  7487. Fm: Jim Conger 73220,324
  7488. To:  72350,2635 (X)
  7489.  
  7490. Thanks for getting back to me.  Here are the answers to your questions:
  7491.  
  7492. 1. The exported function name is StrRev().  The full function declaration:
  7493. extern "C" BOOL FAR PASCAL _export StrRev (LPSTR lpSource, int nLong) ;
  7494.  
  7495. 2.  The calling program is a C++ program with a CPP extenstion.  However, the
  7496. function declaration extern "C" is visible to the calling program.
  7497.  
  7498. 3. The imported function is prototyped as shown in 1. above.
  7499.  
  7500. I think the point of your questions is that C++ name mangling could be the
  7501. reason for the problem.  I did make this error initially, but caught it when
  7502. doing the Windows 3.1 development.  The DLL and calling program work fine when
  7503. compiled using MS C++ 7.0 and the MFC classes for under Windows 3.1.  The
  7504. programs also compile fine under Windows NT, but the function StrRev() is not
  7505. found by the calling program during the linking step.  Running DEBUG on the
  7506. export library shows that the StrRev() function is listed in the export
  7507. library without name mangling.  I lose the trail at this point.
  7508.  
  7509. #: 16591 S7/Tools-Microsoft   
  7510.     04-Nov-92  10:34:32
  7511. Sb: RC Anomaly
  7512. Fm: David Taniguchi [MS] 72350,2054
  7513. To: David Taniguchi [MS] 72350,2054 (X)
  7514.  
  7515. Hi Samuel,
  7516.   We just uploaded RESFMT.ZIP to Lib 4.  This contains a description for the
  7517.   resource formats.  In this document, it states 0x8000 (as you originally
  7518.   guessed it should be) as the last entry.
  7519.   Thanks,
  7520.   Dave
  7521.  
  7522.  
  7523.  
  7524. There is 1 Reply.
  7525.  
  7526. #: 16869 S7/Tools-Microsoft   
  7527.     06-Nov-92  17:49:10
  7528. Sb: #16591-RC Anomaly
  7529. Fm: Samuel Feldman 70403,432
  7530. To: David Taniguchi [MS] 72350,2054
  7531.  
  7532. David,
  7533.  
  7534.  >  We just uploaded RESFMT.ZIP to Lib 4.  This contains a description for the
  7535.  >  resource formats.  In this document, it states 0x8000 (as you originally
  7536.  >  guessed it should be) as the last entry.
  7537.  
  7538. [ In reference to Accelerator table items ]
  7539.  
  7540. Yes, I see that is what the document says.  However, this is NOT what RC does.
  7541. This is either a bug in the doc, or a bug in RC, your choice.
  7542.  
  7543. Could you please let me know which it is? Thanks a lot
  7544.  
  7545.  -- Samuel
  7546.  
  7547. #: 16871 S7/Tools-Microsoft   
  7548.     06-Nov-92  18:11:00
  7549. Sb: WINDBG and My app
  7550. Fm: Marc Singer 72130,2546
  7551. To: Sysop (X)
  7552.  
  7553. I just went through the past two weeks worth of messages to find a solution
  7554. for my problem.  I did find that I needed to use -Zi instead of -Zd to get the
  7555. right symbols.  Unfortunately, after making this change, I can no longer get
  7556. WINDBG to load my app.  I get an error during a call to malloc which calls
  7557. ntdll!_RtlExAllocateHeap (NTSD provided a stack backtrace) while WINDBG is
  7558. loading my application.  I checked that I have sufficient swap space, and I
  7559. rebooted the machine to make sure there were no lingering sub-system problems.
  7560.  
  7561. The error as reported is the instruction 0x6010fbad referenced memory at
  7562. 0x002cea55 which could not be read.
  7563.  
  7564. I am getting many more run-time applications errors than I did from the July
  7565. release.  I hope to use WINDBG to dump my symbols because we all know how fun
  7566. using ntsd is.  Is there any advice for getting WINDBG to load?
  7567.  
  7568. My app is mostly C++.  The disk image is 1.5 megabytes.
  7569.  
  7570. What more can I give you all to help find a solution?  I would like to use
  7571. WINDBG before the show, but I will do whatever it takes to get the app running
  7572. by then.
  7573.  
  7574. Marc Singer -- Straylight Software
  7575.  
  7576.  
  7577.  
  7578.  
  7579. #: 16322 S8/CPU-MIPS Specific   
  7580.     02-Nov-92  06:15:16
  7581. Sb: Porting to NT
  7582. Fm: John Hardman 100023,2532
  7583. To: ALL
  7584.  
  7585. Just a quickie to confirm how easy all you Microsoft people have made
  7586. porting to NT.
  7587.  
  7588. I have been working on a Win 3.1 project for the past 6 months and have
  7589. been listening to all the stuff about message crackers etc. as you give
  7590. the information out. The C source for the project is now around the 1.7 Mb
  7591. mark.
  7592.  
  7593. Having recently won a MIPs machine I thought I'd try rebuilding the project
  7594. under NT. Starting from scratch with a partly configured NT machine but with
  7595. none of my usual tools installed I ported the project successfully in under
  7596. seven hours. About half of this was taken up rewriting my make file to work
  7597. with the MIPs compiler and linker, maybe an hour fixing the few non-portable
  7598. API calls that crept into the code, and the rest trying to edit large files
  7599. using Notepad (which isn't quite up to it yet). To say that I'm pleased is
  7600. an understatement. The system is up and running now. Well done guys.
  7601.  
  7602. However .... at run time there are a few problems, but then NT isn't even in
  7603. beta yet so that's not really surprising. The question is, do you want to
  7604. hear about problems now or wait until beta starts ?
  7605.  
  7606. I'll list a few things here, but as I haven't had time to check out the
  7607. MIPs debugger yet it is possible that some of these are down to our source
  7608. as opposed to NT ...
  7609.  
  7610. (1) "unknown software exception" (0xc0000037) at location 0x6012f630.
  7611. (2) Complete hang of system requiring push of reset button.
  7612. (3) Error loading icon.
  7613. (4) Error posting message to window.
  7614. (5) Combo box sorting behaving in unexpected manner.
  7615.  
  7616. Nice one guys ...
  7617.  
  7618. John Hardman (UK).
  7619.   
  7620.  
  7621. There is 1 Reply.
  7622.  
  7623.  
  7624. #: 16341 S8/CPU-MIPS Specific   
  7625.     02-Nov-92  10:38:34
  7626. Sb: #16322-Porting to NT
  7627. Fm: Petrus Wong [Microsoft] 70743,3355
  7628. To: John Hardman 100023,2532 (X)
  7629.  
  7630. Hello John,
  7631.  
  7632.  We are glad to hear that you are pleased with the system and the ease of
  7633. porting...
  7634.  
  7635.  >>However .... at run time there are a few problems, but then NT isn't even
  7636. in beta yet so that's not really surprising. The question is, do you want to
  7637. hear about problems now or wait until beta starts ?<<
  7638.  
  7639.  We have just released the Beta a few weeks ago.  Yours is probably on the
  7640. way.  So, we really prefer the latter especially it could be bugs which have
  7641. been fixed.
  7642.  
  7643.  thanks,
  7644.  petrus
  7645.  
  7646. #: 16323 S8/CPU-MIPS Specific   
  7647.     02-Nov-92  06:15:33
  7648. Sb: Porting to NT - MIPS
  7649. Fm: John Hardman 100023,2532
  7650. To: All
  7651.  
  7652. The application that I am developing is designed to be portable across all
  7653. supported Windows (3.1, Workgroups and NT) platforms (Intel, MIPs, DEC etc).
  7654. In the error checking & reporting layer I use a hardware specific macro to
  7655. get the return address off the stack. It currently looks like ...
  7656.  
  7657.     #ifdef INTEL_80x86
  7658.     #define GetReturnAddress(ReturnSegment, ReturnOffset)  \
  7659.         _asm                     \
  7660.             {                    \
  7661.             _asm mov ax,[bp+2]        \
  7662.             _asm mov ReturnOffset,ax  \
  7663.             _asm mov dx,[bp+4]        \
  7664.             _asm mov ReturnSegment,dx \
  7665.             }
  7666.     #else
  7667.     #define GetReturnAddress(ReturnOffset, ReturnSegment)  \
  7668.         { ReturnOffset = 0; ReturnSegment = 0; }
  7669.     #endif
  7670.  
  7671. As I haven't had the chance to look into MIPs assembler yet can anyone tell
  7672. me how to do the same thing for the MIPS R4000 (and if anyone knows also
  7673. the other forthcoming NT supported machines such as DEC).
  7674.  
  7675. ( yes, I realise that flat memory architectures don't have segments )
  7676. ( - it's only a label ...                                           )
  7677.  
  7678. Many thanks in advance,
  7679.  
  7680. John Hardman (UK).
  7681.   
  7682.  
  7683. There is 1 Reply.
  7684.  
  7685. #: 16349 S8/CPU-MIPS Specific   
  7686.     02-Nov-92  11:13:05
  7687. Sb: #16323-Porting to NT - MIPS
  7688. Fm: Petrus Wong [Microsoft] 70743,3355
  7689. To: John Hardman 100023,2532 (X)
  7690.  
  7691. Hello John,
  7692.  
  7693.  >>As I haven't had the chance to look into MIPs assembler yet can anyone tell
  7694. me how to do the same thing for the MIPS R4000 (and if anyone knows also the
  7695. other forthcoming NT supported machines such as DEC).<<
  7696.  
  7697.  The return address is stored in the ra register on the R4000.  Only the Load
  7698. and Store instructions can reference memory on the R4000.  The SW instruction
  7699. is defined as follows (Kane/Heninrich: MIPS RISC Architecture):
  7700.  
  7701.  Format:
  7702.  
  7703.  SW rt, offset(base)
  7704.  
  7705.  Description:
  7706.  
  7707.  The 16-bit offset is sign-extended and added to the contents of general
  7708. register base to form a virtual address.  The contents of the general regiater
  7709. rt are stored at the memory location specified by the effective address.
  7710.  
  7711.  Hope this helps,
  7712.  petrus
  7713.  
  7714.  
  7715.  
  7716. There is 1 Reply.
  7717.  
  7718. #: 16444 S8/CPU-MIPS Specific   
  7719.     03-Nov-92  05:35:38
  7720. Sb: #16349-Porting to NT - MIPS
  7721. Fm: John Hardman 100023,2532
  7722. To: Petrus Wong [Microsoft] 70743,3355 (X)
  7723.  
  7724. Petrus,
  7725.  
  7726. Many thanks for your help.
  7727.  
  7728. Do you by any chance know how to do the same thing (getting return address) on
  7729. NT supported machines other than Intel and MIPs. I am thinking about DEC etc.
  7730.  
  7731. Regards,
  7732.  
  7733. John Hardman.
  7734.  
  7735.  
  7736. There is 1 Reply.
  7737.  
  7738. #: 16623 S8/CPU-MIPS Specific   
  7739.     04-Nov-92  13:20:47
  7740. Sb: #16444-Porting to NT - MIPS
  7741. Fm: Petrus Wong [Microsoft] 70743,3355
  7742. To: John Hardman 100023,2532
  7743.  
  7744. Hello John,
  7745.  
  7746. No, don't have much information on other CPUs that runs NT like DEC Alpha yet.
  7747.  
  7748. petrus
  7749.  
  7750. #: 16532 S8/CPU-MIPS Specific   
  7751.     03-Nov-92  18:43:04
  7752. Sb: Debuggin....
  7753. Fm: Mike Ketcham[Mozart] 72417,3344
  7754. To: MS Folk...
  7755.  
  7756. As I go diving deeper ... I am running into data alignment problems. This
  7757. means I need more info on how to deal with this. Where might there be on-line
  7758. info as to compiler switches to turn on code printing (ala. -Fc ) so that I
  7759. can see structure / data alignment? How do you folks do it? Compile and run?
  7760. (I have the october build running on a MIPSpc50) Also, where might I find
  7761. general info on the MIPS like there is on CL?  Is this planned for later? (I
  7762. have very little docs now, but plan to get whatever might be available in
  7763. bookstores).
  7764.  
  7765. There is also supposed to be a "MS front end" to the MIPS compiler. Where?
  7766. thx -=mike
  7767.   
  7768.  
  7769. There are 2 Replies.
  7770.  
  7771. #: 16749 S8/CPU-MIPS Specific   
  7772.     05-Nov-92  14:15:45
  7773. Sb: #16532-Debuggin....
  7774. Fm: Petrus Wong [Microsoft] 70743,3355
  7775. To: Mike Ketcham[Mozart] 72417,3344
  7776.  
  7777. Mike,
  7778.  
  7779.  >>As I go diving deeper ... I am running into data alignment problems. This
  7780. means I need more info on how to deal with this. Where might there be on-line
  7781. info as to compiler switches to turn on code printing (ala. -Fc ) so that I
  7782. can see structure / data alignment? How do you folks do it? Compile and run?
  7783. (I have the october build running on a MIPSpc50) Also, where might I find
  7784. general info on the MIPS like there is on CL?  Is this planned for later? (I
  7785. have very little docs now, but plan to get whatever might be available in
  7786. bookstores).
  7787.  
  7788.  Use the -S compiler switch.  This switch is for compiling the specified
  7789. source programs and leave the symbolic assembly language output in
  7790. corresponding files suffixed with '.s'.
  7791.  
  7792.  There is no online compiler info at the moment.  We are looking into this. 
  7793. There are also the two MIPS compiler guides that I know of, the MIPS
  7794. RISCompiler and C Programmer's Guide and the MIPS RISCompiler Porting Guide
  7795. published by the MIPS Computer Systems.
  7796.  
  7797.  >>There is also supposed to be a "MS front end" to the MIPS compiler. Where?
  7798.  
  7799.  It is in the /mstools/bin directory, cl.exe.
  7800.  
  7801.  thanks, petrus
  7802.  
  7803. #: 16764 S8/CPU-MIPS Specific   
  7804.     05-Nov-92  15:41:41
  7805. Sb: #16532-Debuggin....
  7806. Fm: Petrus Wong [Microsoft] 70743,3355
  7807. To: Mike Ketcham[Mozart] 72417,3344
  7808.  
  7809. Mike,
  7810.  
  7811.  >>There is also supposed to be a "MS front end" to the MIPS compiler. Where?
  7812.  Correction for the location of this.
  7813.  
  7814.  It is on \mstools\bin\msmips directory.
  7815.  
  7816.  petrus
  7817.  
  7818. #: 16849 S8/CPU-MIPS Specific   
  7819.     06-Nov-92  14:44:42
  7820. Sb: MIPS Link
  7821. Fm: Howard Myers 76711,462
  7822. To: Microsoft
  7823.  
  7824. I'm trying to port our app. to the MIPS platform.  I've ported several small
  7825. apps. successfully, but in porting our largest app., I can't link it.  Every
  7826. time I try, after all the link commands have been issued, including the list
  7827. of files, I very quickly get the following messages:
  7828.         LINK() : error 0102: Out of memory
  7829.         Extended Error: No such file or directory
  7830.         NMAKE : fatal error U1077: ....... I am linking approximately 90 files
  7831. that comprise 8.5 MBytes of disk space. These have been converted using
  7832. MIP2COFF without the -c option.  Initially, I tried using the -c option with
  7833. the same results, but the files ate 22 MBytes, so I tried it without.
  7834.  
  7835. I have 32 Meg of RAM, 100 Meg of free disk space, and 90 Meg allocated for the
  7836. System Paging File.  Needless to say, I can't understand why I'm running out
  7837. of memory!
  7838.  
  7839. I'm assuming that the Out of memory error, since it comes first, is the
  7840. legitimate error, and that the no such file or directory is a side effect.
  7841.  
  7842. I'm supposed to have this up to demo in the Microsoft 3rd party booth at
  7843. COMDEX, so admittedly, I'M DESPARATE!
  7844.  
  7845. I'm posting this in both the Tools and MIPS sections, because I can't afford
  7846. the delay to re-post it if I put it in the wrong place.  (I don't want to
  7847. waste your time by having 2 people simultaneously tracking the same problem. 
  7848. Likewise, please don't drop it, assuming the other section's taking care of
  7849. it.)
  7850.  
  7851. Thanks!!!!!!
  7852.  
  7853.  
  7854.  
  7855.  
  7856. #: 16473 S9/CPU-x86 Specific   
  7857.     03-Nov-92  10:49:35
  7858. Sb: Memory Mapped Hardware
  7859. Fm: Fred Meyer 71510,2301
  7860. To: Sysop (X)
  7861.  
  7862. Hi! The Sysop over in WINNT sent me here in the hope that you may be able to
  7863. answer our question.  Here goes:
  7864.  
  7865. We have built a number of AT bus boards that communicate via memory that is
  7866. mapped into the high memory area.  This works with DOS, and also with DOS
  7867. extenders, (since, at bottom, they also use DOS).
  7868.  
  7869. We are now preparing to build another board. Ultimately, this board will be
  7870. part of a system running under WINNT in 32 bit mode.
  7871.  
  7872. Here's the question: What happens to High Memory when DOS disappears and we
  7873. are dealing with a straight NT kernal that has no 640k limitation.  Will
  7874. memory mapped boards still work?  Will NT maintain the old 'high memory'
  7875. architecture and address ranges for compatibility?  If not, what is the
  7876. officially sanctioned method for communicating with a memory-mapped board
  7877. under NT?
  7878.  
  7879. Hope you can help.  We haven't been able to find anything in the
  7880. documentation.
  7881.  
  7882.        --Fred
  7883.  
  7884.  
  7885.  
  7886. There is 1 Reply.
  7887.  
  7888.  
  7889. #: 16506 S9/CPU-x86 Specific   
  7890.     03-Nov-92  15:51:16
  7891. Sb: #16473-Memory Mapped Hardware
  7892. Fm: David Taniguchi [MS] 72350,2054
  7893. To: Fred Meyer 71510,2301
  7894.  
  7895. Hi Fred,
  7896.   I assume by a "memory-mapped" board you mean a 16-bit board which has
  7897.   a page frame (typically between the 640-1meg area) and commonly used
  7898.   with XT systems?  Some of these boards you can convert to map into
  7899.   extended memory.  But, I don't believe there is an officially sanctioned
  7900.   method for communicating with these types of boards.
  7901.   Thanks,
  7902.   Dave
  7903.  
  7904. #: 16588 S9/CPU-x86 Specific   
  7905.     04-Nov-92  10:14:38
  7906. Sb: Fatal system error
  7907. Fm: Robert Tonsing 70740,3541
  7908. To: Sysop (X)
  7909.  
  7910. Help! I had Win NT working fine on a 486 machine with 8 meg of memory, in a
  7911. NTFS disk partition.  This morning, when I try to boot NT, I get:
  7912.  
  7913. *** Fatal System Error: 0x00000071
  7914.  
  7915. *** Session manager terminated.
  7916.  
  7917. What is error 0x71?  Where can I find error message meanings for future
  7918. reference?
  7919.  
  7920. Thanx, Robert
  7921.  
  7922.  
  7923.  
  7924. There is 1 Reply.
  7925.  
  7926. #: 16660 S9/CPU-x86 Specific   
  7927.     04-Nov-92  16:53:39
  7928. Sb: #16588-Fatal system error
  7929. Fm: David Taniguchi [MS] 72350,2054
  7930. To: Robert Tonsing 70740,3541 (X)
  7931.  
  7932. Hi Robert,
  7933.   Please post this in Section 3 of forum WINNT.  They are more experienced
  7934.   with these issues.  Thanks, Dave
  7935.  
  7936. #: 16437 S9/CPU-x86 Specific   
  7937.     02-Nov-92  22:48:57
  7938. Sb: Oct NT & DTC3290HD
  7939. Fm: Balaji - SynOptics 76330,1047
  7940. To: ALL
  7941.  
  7942. Hi,
  7943.    I am using DTC3290HD EISA SCSI Harddisk Controller. October release of
  7944. windows nt doesnot seem to support this card. Is there any work being done in
  7945. this area? Till a driver is available, will I be able to install NT over the
  7946. network and then boot from the floppy drive? When I tried it, it gives errors
  7947. about copying 'setupldr', 'disk1', 'hosts', but copies the other files. What
  7948. is special about these files? I guess, if I can get over this problem, then I
  7949. should be able to install NT on this system.
  7950.  
  7951. Any pointers would be appreciated.
  7952.  
  7953. -Balaji (pbalaji@synoptics.com(
  7954.  
  7955.  
  7956.  
  7957. There is 1 Reply.
  7958.  
  7959. #: 16505 S9/CPU-x86 Specific   
  7960.     03-Nov-92  15:38:49
  7961. Sb: #16437-Oct NT & DTC3290HD
  7962. Fm: David Taniguchi [MS] 72350,2054
  7963. To: Balaji - SynOptics 76330,1047 (X)
  7964.  
  7965. Hi Balaji,
  7966.   Please post this in Section 3 (Windows NT setup) of Forum WINNT.  They
  7967.   are more familiar with these issues.  You should not be able to run NT
  7968.   if you have an unsupported hard disk controller.
  7969.  
  7970.   >> Is there any work being done in this area?
  7971.  
  7972.   You might check with the manufacturers of the card to see if drivers are
  7973.   being written.
  7974.   Thanks,
  7975.   Dave
  7976.  
  7977.  
  7978.  
  7979. There is 1 Reply.
  7980.  
  7981. #: 16721 S9/CPU-x86 Specific   
  7982.     05-Nov-92  09:56:37
  7983. Sb: #16505-Oct NT & DTC3290HD
  7984. Fm: Balaji - SynOptics 76330,1047
  7985. To: David Taniguchi [MS] 72350,2054 (X)
  7986.  
  7987. thanks. will post in Section 3 of WINNT. FYI, I WAS ABLE to complete the Text
  7988. Portion of Setup, but when it rebooted to run the graphical portion, it
  7989. displayed, I/O Initialization error... System Error : 0x00069
  7990.  
  7991. -Balaji.
  7992.  
  7993. #: 16815 S9/CPU-x86 Specific   
  7994.     06-Nov-92  08:46:24
  7995. Sb: Apaptec Trantor & Banyan
  7996. Fm: Richard Bono 73060,1573
  7997. To: sysop (X)
  7998.  
  7999. Hi, I have some support questions.  I need an answer that I can rely on.  If
  8000. this is not the proper forum for these questions, please let me know.  If I
  8001. have to, I can use our ONLINE account. 1) I need to know if there is a driver
  8002. available that will support the Adaptec 6260 and 6360 SCSI chip.  I am told
  8003. that drivers that work with the Adaptec 1520 card will work with this.  The
  8004. October (340 release does not seem to have support for this (only the
  8005. 1540/1740 series) Who should I talk to about getting any possible driver, and
  8006. being assured that one will be available. 2) I also need information on the
  8007. Trantor SCSI adapter card.  Must I contact Trantor on this? 3) We use Banyan
  8008. VINES, is there any beta version of something so that we can evaluate this
  8009. support? Thanks, Rich
  8010.  
  8011. #: 16419 S9/CPU-x86 Specific   
  8012.     02-Nov-92  18:14:22
  8013. Sb: DDK
  8014. Fm: Alex Bronstein 75070,2452
  8015. To: David Taniguchi [MS] 72350,2054 (X)
  8016.  
  8017.  
  8018. What is the difference between the DDK hard-copy documentation and the SDK
  8019. hard-copy documentation?
  8020.  
  8021. (In other words, if I've purchased the full-blown SDK w/ hard-copy doc, is it
  8022. worth it to order the full-blown DDK doc ?)
  8023.  
  8024. Thanks,
  8025.                                Alex
  8026.  
  8027.  
  8028.  
  8029.  
  8030. There is 1 Reply.
  8031.  
  8032. #: 16508 S9/CPU-x86 Specific   
  8033.     03-Nov-92  16:07:10
  8034. Sb: #16419-DDK
  8035. Fm: David Taniguchi [MS] 72350,2054
  8036. To: Alex Bronstein 75070,2452 (X)
  8037.  
  8038. Hi Alex,
  8039.   It's your judgement call.  If you order printed docs you get hardcopy of
  8040.   the NDIS spec, the DDK API's etc.  All of this is on the CD (you'd have to
  8041.   print it out yourself).  Also, you get Mary Hunton's (sp?) Kernel
  8042.   Mode Device Driver book (which I don't believe is on the CD). I understand
  8043.   this book is like a "Inside Windows NT" book in that it doesn't give you
  8044.   details on the API, but more of an explanation of the components, and how
  8045.   the system works.
  8046.  
  8047.   The SDK printed documentation will give you API specific to the SDK.
  8048.   (ie The Programer's Reference, Tools manual, API References, Application
  8049.   Design Guide, etc)  I believe everything in the Win32 SDK is given on
  8050.   CD.
  8051.  
  8052.   The difference between the DDK and the SDK is the content.  The DDK is
  8053.   for writing device drivers which interface with hardware and the SDK is
  8054.   for writing application programs.
  8055.  
  8056.   Let me know if you need more information.
  8057.  
  8058.   Thanks,
  8059.   Dave
  8060.  
  8061.  
  8062.  
  8063. There is 1 Reply.
  8064.  
  8065. #: 16756 S9/CPU-x86 Specific   
  8066.     05-Nov-92  15:06:25
  8067. Sb: #16508-DDK
  8068. Fm: Alex Bronstein 75070,2452
  8069. To: David Taniguchi [MS] 72350,2054 (X)
  8070.  
  8071. Thanks much David.
  8072.  
  8073. About additional info, could you give me pricing on the DDK w/ and w/o printed
  8074. doc, and any discount for people buying the SDK and DDK simultaneously?
  8075.  
  8076.                                Alex
  8077.  
  8078.  
  8079.  
  8080.  
  8081. There are 2 Replies.
  8082.  
  8083. #: 16771 S9/CPU-x86 Specific   
  8084.     05-Nov-92  17:05:04
  8085. Sb: #16756-DDK
  8086. Fm: David Taniguchi [MS] 72350,2054
  8087. To: Alex Bronstein 75070,2452 (X)
  8088.  
  8089. Hi Alex,
  8090.   There is no discount for buying both.  If pricing is a problem, you might
  8091.   consider the CD-Only options.  Personally, I rarely use the hard-printed
  8092.   docs for the SDK.  I always have Winhelp running, and just type in
  8093.   the API name if I need to see the parameters and descriptions.  Also, all
  8094.   the overviews are accessible through winhelp also..
  8095.   Thanks,
  8096.   Dave
  8097.  
  8098. #: 16772 S9/CPU-x86 Specific   
  8099.     05-Nov-92  17:05:12
  8100. Sb: #16756-DDK
  8101. Fm: David Taniguchi [MS] 72350,2054
  8102. To: Alex Bronstein 75070,2452 (X)
  8103.  
  8104. Whoops, pardon me.  I forgot pricing.  The SDK is $69 w/o docs, $399 w/docs.
  8105.   The SDK docs include the Programmer's References (which are online),
  8106.   C and C++ Manuals (API's online), RPC manual (API's online), Tools Manual
  8107.   (Most have online help), Application design guide, and other misc. manuals.
  8108.  
  8109.  
  8110.   The Preliminary DDK will be available before the end of November.  The
  8111.   cost is as follows:
  8112.  
  8113.    DDK CD-ROM only                         $69
  8114.    DDK CD-ROM with hard-copy documentation $399
  8115.  
  8116.   This pricing includes updates and the final version of the DDK.  The
  8117.   documentation will be included on the CD in both Postscript and Write
  8118.   format, and all the device driver functions will be documented in Winhelp.
  8119.  
  8120.   If you are in the US and currently own the Win32SDK, you will be receiving
  8121.   a mailing on the DDK in mid-November which will include 4-page product
  8122.   datasheet and an order coupon.  We encourage you to order via this coupon
  8123.   since we are unable to keep up with extremely high call volumes the past
  8124.   few weeks.  You will receive this coupon in plenty of time before the
  8125.   product ships.
  8126.  
  8127.   International customers should contact their local MS office for ordering,
  8128.   pricing and availibility information.
  8129.  
  8130.   One other important change which you should be aware of.  Everyone who
  8131.   purchases the hard-copy documentation for the DDK will receive the new
  8132.   book "Inside Windows NT" from MS Press.  This book will not be on the
  8133.   CD.
  8134.  
  8135.  
  8136.  
  8137.  
  8138. There is 1 Reply.
  8139.  
  8140. #: 16832 S9/CPU-x86 Specific   
  8141.     06-Nov-92  11:22:34
  8142. Sb: #16772-DDK
  8143. Fm: Alex Bronstein 75070,2452
  8144. To: David Taniguchi [MS] 72350,2054 (X)
  8145.  
  8146.  
  8147. Thanks David,
  8148.  
  8149.        One more question (since I am $$-sensitive): what is the rule
  8150. concerning my reselling a SDK or DDK CD-ROM (without keeping any copies of
  8151. course, neither disk nor paper)?
  8152.  
  8153.        Say now that I have the October NT SDK, I'd like to sell the July NT
  8154. SDK to someone, am I allowed to do that (just like I can resell old books)?
  8155.  
  8156.        Thanks,
  8157.                                Alex
  8158.  
  8159.  
  8160.  
  8161.  
  8162. #: 16346 S10/Porting from OS/2   
  8163.     02-Nov-92  10:57:42
  8164. Sb: #16266-Bitmaps on menus
  8165. Fm: John Hall [MS SDE] 70750,2341
  8166. To: BENJ FAYLE 71151,1603 (X)
  8167.  
  8168. Use a static control for ES_READONLY.
  8169.  
  8170. yes, I know you have to fiddle with the resource file.  Of all the tools, I am
  8171. most embarrassed about resconv.zip.  It is on my list to improve but not at
  8172. the top.
  8173.  
  8174.  
  8175. #: 16373 S10/Porting from OS/2   
  8176.     02-Nov-92  14:16:14
  8177. Sb: #16266-Bitmaps on menus
  8178. Fm: Nancy Cluts - Microsoft 70744,20
  8179. To: BENJ FAYLE 71151,1603
  8180.  
  8181. Hi Benj.
  8182.  
  8183. <<I've got Petzold's here at my side.  I'd already found the method you'd
  8184. pointed me to but was looking for a resource file approach.  I like the idea
  8185. of having static aspects of my code in resource files and leaving variable
  8186. features for runtime.  I should have phrased my question to ask if there was a
  8187. resource file method of placing bitmaps in menus.>>
  8188.  
  8189. Unfortunately, I have not found a way to do this other than the approach that
  8190. Petzold uses.
  8191.  
  8192. <<On the topic of resource file conversion: In OS2 you can flag an entry field
  8193. as ES_READONLY, is there a comparable feature if Windows, either resource or
  8194. runtime?>>
  8195.  
  8196. A new flag, ES_READONLY, has been added for Windows 3.1.  Another way to do
  8197. this is covered in a Knowledge Base article (which I will append to the end of
  8198. this message for you).
  8199.  
  8200. <<What does John Hall do and what do you do and who should I direct my
  8201. questions towards? >>
  8202.  
  8203. John is a developer (the one who wrote the OS/2 to Win porting tools) and I am
  8204. with Developer Support.  It is my responsibility to get questions answered in
  8205. this forum (It is also my good fortune that John jumps in with answers).
  8206.  
  8207. Nancy - Microsoft Win 32 Developer Support
  8208.  
  8209. INF: Implementing a Read-Only Edit Control In Windows         [P_WinSDK] ID:
  8210. Q80946     CREATED: 20-FEB-1992   MODIFIED: 20-MAY-1992 3.00 3.10 WINDOWS
  8211. ENDUSER | softlib ROEDIT 3.x
  8212.  
  8213. Summary:
  8214.  
  8215. In some situations, an application may contain text that is displayed for the
  8216. user to read, which is undesirable for the user to modify. The application can
  8217. use a static control to contain this text if the message is short. However,
  8218. for larger amounts of text, which require scrolling to display all the text in
  8219. the allotted area, something closer to an edit control is required. This
  8220. article, and its associated sample code, details how to make an edit control
  8221. "readonly."
  8222.  
  8223. ROEDIT is a file in the Software/Data Library that demonstrates the techniques
  8224. discussed in this article. ROEDIT can be found in the Software/Data Library by
  8225. searching on the word ROEDIT, the Q number of
  8226.  
  8227. [More]
  8228.  
  8229. There is 1 Reply.
  8230.  
  8231. #: 16375 S10/Porting from OS/2   
  8232.     02-Nov-92  14:16:29
  8233. Sb: #16373-Bitmaps on menus
  8234. Fm: Nancy Cluts - Microsoft 70744,20
  8235. To: Nancy Cluts - Microsoft 70744,20 (X)
  8236.  
  8237. [Continued]
  8238.  
  8239. this article, or S13284. ROEDIT was archived using the PKware file-compression
  8240. utility.
  8241.  
  8242. More Information:
  8243.  
  8244. An application can create a read-only edit control by subclassing or
  8245. superclassing a standard edit control. The subclass procedure filters out
  8246. messages that change the contents of the edit control. The following code
  8247. fragment demonstrates this process:
  8248.  
  8249.    FARPROC gOldProc;
  8250.  
  8251.    LONG FAR PASCAL ROEditProc(HWND hWnd, WORD msg,
  8252.                               WORD wParam, LONG lParam)
  8253.    {
  8254.        switch (msg)
  8255.        {
  8256.            case WM_KEYUP:
  8257.            case WM_KEYDOWN:
  8258.            case WM_CHAR:
  8259.            case WM_CUT:
  8260.            case WM_COPY:
  8261.            case WM_PASTE:
  8262.            case WM_LBUTTONUP:
  8263.            case WM_LBUTTONDOWN:
  8264.            case WM_LBUTTONDBLCLK:
  8265.                return 1L;
  8266.  
  8267.            case WM_GETDLGCODE:
  8268.                return 0L;
  8269.        }
  8270.  
  8271.        return CallWindowProc(gOldProc, hWnd, msg, wParam, lParam);
  8272.    } //*** ROEditProc
  8273.  
  8274.  
  8275. In the example above, the subclass procedure traps mouse clicks, keystrokes,
  8276. and the cut, copy, and paste commands. It also traps the WM_GETDLGCODE message
  8277. to prevent an edit control in a dialog box from receiving the input focus.
  8278.  
  8279. The following example demonstrates superclassing an edit control to create a
  8280. new ROEDIT-class control that behaves similar to a read-only edit control. A
  8281. ROEDIT control implements the window procedure provided above. It also changes
  8282. the cursor to an arrow instead of an I-beam, which provides an additional
  8283. indication to the user that the contents of the control cannot be changed.
  8284. Using an ROEDIT control eliminates the necessity of subclassing each control
  8285. after it is created. When the application creates a control from the ROEDIT
  8286. class, the read-only behavior is provided automatically.
  8287.  
  8288. The following code demonstrates superclassing an edit control as described
  8289. above:
  8290.  
  8291.    FARPROC gOldProc;
  8292.  
  8293.    BOOL RegisterROEdit(HANDLE hInstance)
  8294.    {
  8295.        WNDCLASS wc;
  8296.  
  8297.        if (!GetClassInfo(NULL, "EDIT", &wc))
  8298.            return FALSE;
  8299.  
  8300.        gOldProc = (FARPROC)wc.lpfnWndProc;
  8301.  
  8302.  
  8303. [More]
  8304.  
  8305. There is 1 Reply.
  8306.  
  8307. #: 16376 S10/Porting from OS/2   
  8308.     02-Nov-92  14:16:35
  8309. Sb: #16375-Bitmaps on menus
  8310. Fm: Nancy Cluts - Microsoft 70744,20
  8311. To: Nancy Cluts - Microsoft 70744,20 (X)
  8312.  
  8313. [Continued]
  8314.  
  8315.        wc.style        &= ~CS_GLOBALCLASS;
  8316.        wc.lpfnWndProc   = ROEditProc;
  8317.        wc.hInstance     = hInstance;
  8318.        wc.hCursor       = LoadCursor(NULL, IDC_ARROW);
  8319.        wc.lpszClassName = "ROEDIT";
  8320.  
  8321.        return RegisterClass(&wc);
  8322.  
  8323.    } //*** RegisterROEdit
  8324.  
  8325. In Windows 3.1, there is a new style bit for the edit control (ES_READONLY)
  8326. that removes the editing capabilities of the edit control, leaving only the
  8327. viewing capabilities. This style is useful when the application shows the user
  8328. a body of static text that the user reads and does not modify.
  8329.  
  8330. Additional reference words: 3.00 3.10 3.x softlib ROEDIT.ZIP
  8331.  
  8332.  
  8333.  
  8334.  
  8335. #: 16757 S11/Porting from Unix   
  8336.     05-Nov-92  15:06:38
  8337. Sb: ISV Dev'pment Lab Unix,X
  8338. Fm: Alex Bronstein 75070,2452
  8339. To: John Hall [MS SDE] 70750,2341 (X)
  8340.  
  8341. John,
  8342.  
  8343.        Thanks for your reply.  I've moved the thread to section 11 as you
  8344. requested.
  8345.  
  8346.        You didn't mention any experiences on the non-character based side
  8347. (i.e. X apps).  Too tragic to mention?  I'm wondering at what stage of porting
  8348. can such things be brought to your lab.
  8349.  
  8350.        Regards,
  8351.  
  8352.                                Alex
  8353.  
  8354.  
  8355.  
  8356.  
  8357. There is 1 Reply.
  8358.  
  8359.  
  8360. #: 16797 S11/Porting from Unix   
  8361.     05-Nov-92  20:22:39
  8362. Sb: #16757-ISV Dev'pment Lab Unix,X
  8363. Fm: John Hall [MS SDE] 70750,2341
  8364. To: Alex Bronstein 75070,2452 (X)
  8365.  
  8366. >>       You didn't mention any experiences on the non-character based side
  8367. (i.e. X apps).  Too tragic to mention?  I'm wondering at what stage of porting
  8368. can such things be brought to your lab.
  8369.  
  8370. The vendor with X which came already had a Windows product, so we used that.
  8371.  
  8372. The first problem with X would be 'what interface did you use'?
  8373. My experience was right on top of XLib, not using any toolkits.
  8374.  
  8375. Offhand, I think a UI framework can be redone on Windows very quickly using
  8376. various code generation facilities.   The concepts are often parallel -- use
  8377. DC's instead of GC's, for example.  The messaging model
  8378. is a bit different with plusses and minuses (every window gets its own
  8379. proceedure, which is good.  every window gets all messages, which is bad).
  8380.  
  8381. Graphics and Fonts just get in and get with it.  Overall, I have a lot of
  8382. faith in the ability of Unix ISV's to get the work done once they decide to.
  8383.  
  8384.  
  8385. There is 1 Reply.
  8386.  
  8387. #: 16833 S11/Porting from Unix   
  8388.     06-Nov-92  11:22:43
  8389. Sb: #16797-ISV Dev'pment Lab Unix,X
  8390. Fm: Alex Bronstein 75070,2452
  8391. To: John Hall [MS SDE] 70750,2341 (X)
  8392.  
  8393. John,
  8394.  
  8395.        OK, thanks for the encouragement.
  8396.  
  8397. Everyone out there:
  8398.  
  8399.        If anyone else out there is doing/considering an X -> Win32 port, would
  8400. you mind sending me an email (either here or alex@gain.com) and I'd maintain a
  8401. fellow-sufferer list.  We're probably in different vertical markets, so I
  8402. don't think sharing some info on the porting experience would hurt any of our
  8403. businesses...
  8404.  
  8405.        Regards,
  8406.                                Alex
  8407.  
  8408. #: 16478 S11/Porting from Unix   
  8409.     03-Nov-92  11:38:27
  8410. Sb: Porting from Unix
  8411. Fm: Alex Bronstein 75070,2452
  8412. To: John Richardson 70541,672 (X)
  8413.  
  8414. John,
  8415.  
  8416.        Are you building the X server yourself, or using a commercial product? 
  8417. Also, would you (or your company) be willing to license the port of X lib to
  8418. NT/Posix to someone else?
  8419.  
  8420.        This is a different strategy than the one we've decided on to port our
  8421. X app to NT, but it would be well worth our time to try both approaches and
  8422. compare...
  8423.  
  8424.                                Alex (aka: internet>alex@gain.com)
  8425.  
  8426.  
  8427.  
  8428.  
  8429. There is 1 Reply.
  8430.  
  8431. #: 16530 S11/Porting from Unix   
  8432.     03-Nov-92  18:10:10
  8433. Sb: #16478-Porting from Unix
  8434. Fm: John Richardson 70541,672
  8435. To: Alex Bronstein 75070,2452 (X)
  8436.  
  8437. I plan on using the Visionware product from leads England. I am running
  8438. the Windows 3.x version, and will be getting the WINSOCK interface to
  8439. work under NT. (Currently they use either PC-NFS, or PC-IP) They will
  8440. not have a native WIN32 version until sometime next year, so if another
  8441. one comes along, I will try it. One thing in Visionwares favor is that
  8442. they usally get pretty good ratings, and the company I work for allready
  8443. licenses the product for Windows 3.x.
  8444. As far as the basic Xlib port, I do plan on either doing it myself, or
  8445. someone in my development group will do it. I am currently blocked by not
  8446. being able to do any kind of IPC communication outside of the POSIX subsystem
  8447. that comes with NT. As soon as I can do the IPC, I can then
  8448. bounce to a WIN32 or other WINSOCK program that implements the Xserver.
  8449.  
  8450. As far as licensing, I work for a large company (Siemens-Nixdorf), and I am
  8451. just starting to try to convince management that some of what my group does
  8452. should be available to outside companys. I am writing up some proposals for
  8453. expanding the scope of co-operation between my group an other 3rd parties and
  8454. submitting this to my various bosses. I may get lucky here, due to the need to
  8455. 'leverage' everything a company does today in this economic environment.
  8456.  
  8457.                                                         JR
  8458.  
  8459.  
  8460.  
  8461. There is 1 Reply.
  8462.  
  8463. #: 16577 S11/Porting from Unix   
  8464.     04-Nov-92  08:54:52
  8465. Sb: #16530-Porting from Unix
  8466. Fm: Arthur Kreitman 76060,2677
  8467. To: John Richardson 70541,672
  8468.  
  8469. >As far as the basic Xlib port, I do plan on either doing it myself, or
  8470. >someone in my development group will do it. I am currently blocked by >not
  8471. being able to do any kind of IPC communication outside of the >POSIX subsystem
  8472. that comes with NT. As soon as I can do the IPC, I >can then bounce to a WIN32
  8473. or other WINSOCK program that implements >the Xserver.
  8474.  
  8475.   I think that you'll find that the POSIX subsystem is a nonstarter
  8476. as far as xlib is concerned.  It unlikley that MS will upgrade
  8477. the POSIX subsystem anytime soon. If fact, the "we'll study the
  8478. matter" response is their way of saying NFW. 
  8479.  
  8480.   The real problem with making XLIB (and all its relatives: xt, xaw,
  8481. motif widgets...) available under NT is the the behaviour has to
  8482. exactly match the expected behaviour.  It's more then just having
  8483. a select available. 
  8484.  
  8485.  
  8486.  
  8487.  
  8488. There is 1 Reply.
  8489.  
  8490. #: 16686 S11/Porting from Unix   
  8491.     04-Nov-92  21:37:12
  8492. Sb: #16577-Porting from Unix
  8493. Fm: John Hall [MS SDE] 70750,2341
  8494. To: Arthur Kreitman 76060,2677 (X)
  8495.  
  8496. >> It unlikley that MS will upgrade the POSIX subsystem anytime soon.
  8497. >> If fact, the "we'll study the matter" response is their way of
  8498. >> saying NFW.
  8499.  
  8500. As a long standing Unoid, I can understand the not of cynicism, but
  8501. IMHO it is not warranted.  I'm afraid I can't elaborate.  Time is
  8502. not yet full.
  8503.  
  8504. There is 1 Reply.
  8505.  
  8506. #: 16705 S11/Porting from Unix   
  8507.     05-Nov-92  05:16:09
  8508. Sb: #16686-Porting from Unix
  8509. Fm: Arthur Kreitman 76060,2677
  8510. To: John Hall [MS SDE] 70750,2341 (X)
  8511.  
  8512.   Want to do something usefull.  Make fork and links available
  8513. in the win32 subsystem.  Then you won't have to worry about posix.
  8514.  
  8515. #: 16482 S11/Porting from Unix   
  8516.     03-Nov-92  12:01:12
  8517. Sb: Porting from Unix
  8518. Fm: Steve Firebaugh [MS] 75430,412
  8519. To: John Richardson 70541,672 (X)
  8520.  
  8521. JR,  Here is the official word I've gotten back regarding the limitations on
  8522. posix IPC.
  8523.  
  8524.  "The first release of the POSIX SS on Win NT will be limited to IEEE
  8525.  1003.1 (FIPS 151-1) support.   This is a big achievement given that
  8526.  POSIX was written for UNIX.  However, overall utility of the SS will be
  8527.  limited by its lack of IPC with the other subsystems.   Microsoft is
  8528.  looking to improve this support in the future, same as it is studying
  8529.  evolution of the SS."
  8530.  
  8531. One other person suggested the following technique, which you might find
  8532. helpful:
  8533.  
  8534.  "The simplest IPC that would seem to solve your problem is to start your
  8535.  POSIX server app from a Win32 app, and re-direct the stdin/stdout
  8536.  handles, giving you two way communication from the Win32 to the POSIX
  8537.  part of you app - you could quite simply layer your Xlib-like calls to
  8538.  use this two-way channel to talk to the Win32 X-Server."
  8539.  
  8540. Steve Firebaugh
  8541.  
  8542.  
  8543.  
  8544. There are 2 Replies.
  8545.  
  8546. #: 16494 S11/Porting from Unix   
  8547.     03-Nov-92  14:52:05
  8548. Sb: #16482-Porting from Unix
  8549. Fm: Seattle Lab 71202,560
  8550. To: Steve Firebaugh [MS] 75430,412 (X)
  8551.  
  8552. How do you start a POSIX server app from within a win32 app?  I thought that
  8553. you couldn't mix environmental subsystems.
  8554.  
  8555.         Dennis Krueger
  8556.         Seattle Lab
  8557.  
  8558. There is 1 Reply.
  8559.  
  8560. #: 16526 S11/Porting from Unix   
  8561.     03-Nov-92  17:34:12
  8562. Sb: #16494-Porting from Unix
  8563. Fm: Steve Firebaugh [MS] 75430,412
  8564. To: Seattle Lab 71202,560 (X)
  8565.  
  8566. You can not mix API calls from different subsystems within the same
  8567. application.  However, the Win32 API CreateProcess() is able to create a posix
  8568. process.  Furthermore, this API includes a parameter which allows the
  8569. "spawned" process to inherit the handles of the Win32 app.
  8570.  
  8571. Steve Firebaugh
  8572.  
  8573.  
  8574.  
  8575. There is 1 Reply.
  8576.  
  8577. #: 16728 S11/Porting from Unix   
  8578.     05-Nov-92  11:32:16
  8579. Sb: #16526-Porting from Unix
  8580. Fm: Seattle Lab 71202,560
  8581. To: Steve Firebaugh [MS] 75430,412 (X)
  8582.  
  8583. Thanks Steve, We are porting the UniVerse application environment, a PICK-like
  8584. operating system, from UNIX to NT and have been examining cross-over
  8585. stratagies.  We haven't wanted to go completly to POSIX because that wouldn't
  8586. seem to allow us to implement the type of inter-application connectivity that
  8587. the NT platform offers.  By starting off from a WIN32 environment and spawning
  8588. off specific POSIX functions, it looks like an approach which will allow us to
  8589. integrate the best of both worlds.
  8590.         We will have more questions in the future.
  8591.         Dennis Krueger
  8592.         Seattle Lab
  8593.  
  8594. There is 1 Reply.
  8595.  
  8596. #: 16843 S11/Porting from Unix   
  8597.     06-Nov-92  14:01:17
  8598. Sb: #16728-Porting from Unix
  8599. Fm: Steve Firebaugh [MS] 75430,412
  8600. To: Seattle Lab 71202,560 (X)
  8601.  
  8602. Dennis Krueger,
  8603.  
  8604. I just had a meeting with one of the posix developers here.  He pointed out
  8605. that there is a limit on the number of posix processes.  It is currently set
  8606. to 32, but this can be easily raised if there is proper justification. Do you
  8607. think that you'll run into problems with this?  If so, it may be worth your
  8608. while to send us a limit which will work for you.  Thanks.
  8609.  
  8610. Steve Firebaugh
  8611.  
  8612.  
  8613.  
  8614. There is 1 Reply.
  8615.  
  8616. #: 16850 S11/Porting from Unix   
  8617.     06-Nov-92  15:33:29
  8618. Sb: #16843-Porting from Unix
  8619. Fm: Seattle Lab 71202,560
  8620. To: Steve Firebaugh [MS] 75430,412 (X)
  8621.  
  8622. Dear Steve,
  8623.         Thanks for your interest and follow-up.  What we are porting could be
  8624. viewed as a multi-user business operating system supporting up to 1000 users,
  8625. supporting the entire environment over NT. This currently runs over UNIX
  8626. supporting each user as a distinct process, say in the range of 1500 processes
  8627. upper limit. We are now at the design stage of the port.  One approach is to
  8628. attempt a direct port from SCO UNIX to the POSIX standard. Our own environment
  8629. sub-system and file system is the other extreme. We are leaning toward a more
  8630. NT integrated approach. Your suggestion of a mix of POSIX processing from a
  8631. WIN32 shell being the most attractive. Any POSIX approach would appear to
  8632. require over 1000 processes unless we were able to run users as threads within
  8633. one process, which brings up environmental access and scheduling issues.  And
  8634. we haven't raised any peripheral control issues.
  8635.         Enough for now,
  8636.         Thanks again for your interest and response.
  8637.         Dennis Krueger
  8638.         Seattle Lab 
  8639.  
  8640. #: 16509 S11/Porting from Unix   
  8641.     03-Nov-92  16:19:02
  8642. Sb: #16482-Porting from Unix
  8643. Fm: Arthur Kreitman 76060,2677
  8644. To: Steve Firebaugh [MS] 75430,412 (X)
  8645.  
  8646.  
  8647. > "The first release of the POSIX SS on Win NT will be limited to IEEE
  8648. > 1003.1 (FIPS 151-1) support.   This is a big achievement given that
  8649. > POSIX was written for UNIX.  However, overall utility of the SS will
  8650.   
  8651.    The posix subsystem cannot be considered a big achievement. 
  8652. The only hard part was fork, and fork support was a NT kernel
  8653. design requirement.  The only big part of the achievement was
  8654. believing that they could get away with an implementation that had
  8655. that many limitations.
  8656.  
  8657.  
  8658.  
  8659.  
  8660. #: 16352 S12/API-RPC/WinNet   
  8661.     02-Nov-92  11:47:08
  8662. Sb: #16251-RPC nesting alls
  8663. Fm: Koby 71172,2722
  8664. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  8665.  
  8666. Thank you very much, Bruce for the detailed absware. I have to digest it. I am
  8667. waiting to the end result.
  8668. Koby 
  8669.  
  8670.  
  8671. #: 16271 S12/API-RPC/WinNet   
  8672.     31-Oct-92  09:01:31
  8673. Sb: RPC Callbacks
  8674. Fm: Daniel Norton 76050,2204
  8675. To: All
  8676.  
  8677. I am working with a producer-consumer application whereby the consumer calls
  8678. the producer to register itself so that the producer can begin providing
  8679. information.  As information becomes available, the producer calls back the
  8680. consumer for each item of information.
  8681.  
  8682. Unfortunately, it does not seem to me that RPC accounts for this.  The
  8683. concept is similar to a callback with the Windows timer.
  8684.  
  8685. Instead of RPC here, I plan on providing a handle to something like a named
  8686. pipe that the producer will write to, but I'd rather maintain the RPC model,
  8687. since it is platform independent.  Once I add named pipes, I become platform
  8688. specific and the problem becomes more complicated.
  8689.  
  8690. Can anyone see a simpler solution?
  8691.  
  8692. Thanks.
  8693. --
  8694. Daniel
  8695.  
  8696.  
  8697. There is 1 Reply.
  8698.  
  8699. #: 16355 S12/API-RPC/WinNet   
  8700.     02-Nov-92  11:59:12
  8701. Sb: #16271-RPC Callbacks
  8702. Fm: David Taniguchi [MS] 72350,2054
  8703. To: Daniel Norton 76050,2204 (X)
  8704.  
  8705. Hi Daniel,
  8706.   If the clients are NT machines (or other computers capable of creating
  8707.   RPC servers) you could create two RPC servers (both on the producer and
  8708.   consumer sides).  However, on Dos and Windows clients, this won't work
  8709.   since you cannot create RPC servers on Dos and Windows 3.1 machines at
  8710.   this time.
  8711.  
  8712.   RPC is capable of passing parameters both to and from a client machine.
  8713.   However, this depends that a call is initiated by the client.  You could
  8714.   have the client keep checking the server (by calling a remote procedure
  8715.   call), and when interesting information is available, the server could
  8716.   pass back the information in a parameter.
  8717.  
  8718.   Also, if it is possible to narrow down what types of machines you would
  8719.   potentially be communicating with, you can consider named pipes, Windows
  8720.   Sockets, or netbios.  This isn't as nice as having the platform
  8721.   independence that RPC provides, but these mechanisms do provide the
  8722.   functionality you seek.
  8723.  
  8724.   Hope this helps,
  8725.   Dave
  8726.  
  8727. #: 16370 S12/API-RPC/WinNet   
  8728.     02-Nov-92  14:13:04
  8729. Sb: #16219-network registry access
  8730. Fm: Bruce Ramsey/Microsoft 70324,2742
  8731. To: Andrew Potter 71075,614 (X)
  8732.  
  8733. Hi Andrew -
  8734.  
  8735. >> ...If LANManager can administer user account information, can
  8736.   it be used to manage other user defined information?  For
  8737.   example, project_A's design files are located on server_A_proj
  8738.   under the /proj_A file system and project_A's database is
  8739.   located on server_DB_A_proj under the /proj_A file system.  If
  8740.   LANManager cannot do the above example, can the registry provide
  8741.   the above information?
  8742.  
  8743. LAN Manager for Windows NT has a Replicator service, and can, for
  8744.   example, replicate the contents of the directory c:\proj_A on
  8745.   machine \\srvr_A_pr to the directory     c:\any_dir\proj_A on the
  8746.   machine \\srvDB_A_pr
  8747.  
  8748. The Repl server needs to be a LAN Manager for Windows NT machine,
  8749.   however the Repl client can be a Windows NT machine, that is,
  8750.   need not have the LAN Manager for Windows NT add-on
  8751.  
  8752. Subdirectories of a replicated directory are also replicated, that
  8753.   is, the entire tree structure is maintained
  8754.  
  8755. I threw in the sub-dir name "any_dir" as an example - the point is
  8756.   the disk letters on the Repl source and client machines don't
  8757.   have to be the same, and neither do the directory paths.  You
  8758.   could replicate \\srvr_A_pr 's c:\proj_A to \\srvDB_A_pr 's
  8759.   d:\dontcare
  8760.  
  8761. Bruce
  8762.  
  8763. #: 16276 S12/API-RPC/WinNet   
  8764.     31-Oct-92  09:35:18
  8765. Sb: Win16 Netbios problem
  8766. Fm: Michael Lynch 76260,1670
  8767. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  8768.  
  8769. Thanks for the response. Unfortunately, these are commercial apps, not mine.
  8770. Specifically, Attachmate Extra for Windows... and Keyfile (A document
  8771. managmemnt app). What is curious is that both seem to be behaving the same
  8772. (ie, wait 3 second s and die). I will try removing TCP/IP and seeing if this
  8773. is the problem. Can you give me an example of a commercial app that you have
  8774. tried that does work, so I can attempt to duplicate this in my environment?
  8775. Thanks Mike
  8776.  
  8777. There is 1 Reply.
  8778.  
  8779. #: 16371 S12/API-RPC/WinNet   
  8780.     02-Nov-92  14:13:09
  8781. Sb: #16276-Win16 Netbios problem
  8782. Fm: Bruce Ramsey/Microsoft 70324,2742
  8783. To: Michael Lynch 76260,1670
  8784.  
  8785. Hi Mike -
  8786.  
  8787. >> ...Unfortunately, these are commercial apps, not mine.
  8788.   Specifically, Attachmate Extra for Windows... and Keyfile (A
  8789.   document managmemnt app).  What is curious is that both seem to
  8790.   be behaving the same (ie, wait 3 second s and die)
  8791.  
  8792. I apologize, Mike, I misunderstood - I thought these were your
  8793.   apps.  The people most focussed on problems with running
  8794.   commercial 16-bit apps on Windows NT are in WINNT/section 4 -
  8795.   please check with them there
  8796.  
  8797. >> I will try removing TCP/IP and seeing if this is the problem.
  8798.   Can you give me an example of a commercial app that you have
  8799.   tried that does work, so I can attempt to duplicate this in my
  8800.   environment?
  8801.  
  8802. I think removing TCP/IP is still worth trying.  Unfortunately I
  8803.   don't have an example of an app similar to what you're trying -
  8804.   again, please check with the people who focus on this area in
  8805.   WINNT/4
  8806.  
  8807. Bruce
  8808.  
  8809. #: 16390 S12/API-RPC/WinNet   
  8810.     02-Nov-92  15:55:51
  8811. Sb: Re: Win RPC / UNIX RPC
  8812. Fm: Bruce Ramsey/Microsoft 70324,2742
  8813. To: gene saunders 72265,23
  8814.  
  8815. Hi Gene - I checked with the OSF.  They were't able to narrow the
  8816.   list down to only UNIX vendors, but here is the current list of
  8817.   vendors shipping DCE:
  8818.  
  8819. IBM DEC Siemens Nixdorf HP Groupe Bull SCO NCR SUN (Transarc Corporation)
  8820. Stratus Gradient Technologies (MS Windows) USL Hitachi
  8821.  
  8822. The OSF mentioned that there are a little over a dozen additional
  8823.   companies that are working in the area but haven't yet made
  8824.   announcements
  8825.  
  8826. Microsoft is of course shipping in the Win32 Preliminary SDK for
  8827.   Windows NT the RPC subset of DCE
  8828.  
  8829. Bruce
  8830.  
  8831. #: 16436 S12/API-RPC/WinNet   
  8832.     02-Nov-92  22:36:52
  8833. Sb: RAW IP Support in NT
  8834. Fm: Balaji - SynOptics 76330,1047
  8835. To: David Taniguchi [MS] 72350,2054 (X)
  8836.  
  8837. Dave,
  8838.   When I was refering to ICMP, I was asking about having access to the ICMP
  8839. HEADER.
  8840.   Also, Eventhough WinSock spec doesnot require RAW sockets implemented, is
  8841. Microsoft implementing it in NT?. I know that most of the stack vendors who
  8842. are working on RAW Sockets for windows already have this in their stacks.
  8843.  
  8844. -Balaji
  8845.  
  8846. There is 1 Reply.
  8847.  
  8848. #: 16725 S12/API-RPC/WinNet   
  8849.     05-Nov-92  10:46:14
  8850. Sb: #16436-RAW IP Support in NT
  8851. Fm: David Taniguchi [MS] 72350,2054
  8852. To: Balaji - SynOptics 76330,1047
  8853.  
  8854. Hi Balaji,
  8855.   We are not going to support RAW sockets in product 1.  I am not certain
  8856.   how ICMP IP packets will be intercepted.  I'm checking into this.
  8857.   Will keep you posted.
  8858.   Thanks,
  8859.    Dave
  8860.  
  8861.  
  8862.  
  8863.  
  8864. #: 16277 S13/Windows NT DDK   
  8865.     31-Oct-92  10:42:05
  8866. Sb: #16238-DDK Rollout
  8867. Fm: Marcelo  R Lopez Jr 71221,1353
  8868. To: Steve Mastrianni [PSS] 71501,1652 (X)
  8869.  
  8870. Steve,
  8871.  
  8872. Thank you for making me GREEN(!).  I think my wife and I had OTHER MORE
  8873. IMPORTANT matters at hand, and I'm sure it's something I would've enjoyed, but
  8874. I wouldn't trade having been the first person to hold my son, for anything in
  8875. the World !!  ENVY, ENVY *~*~*~*
  8876.  
  8877. Marcelo R. Lopez, JR.
  8878. DRV Research, Inc.
  8879.  
  8880. PS. Call you at home tonight, cool ?!
  8881.  
  8882.  
  8883. #: 16379 S13/Windows NT DDK   
  8884.     02-Nov-92  14:50:36
  8885. Sb: Open SCSI w/CreateFile()
  8886. Fm: Paul Sanders [Microsoft] 72350,2053
  8887. To: Jim Gill 70530,1771 (X)
  8888.  
  8889. Jim,
  8890.     I need to retract my last answer.  Miniport drivers can support IOCtls. We
  8891. have no sample code that does this, so you will probably be forging new paths
  8892. (not actually, it will just seem like it).  Miniport IOCTLs are typically for
  8893. driver developers that want to set up special adapter features such as cache
  8894. or fault tolerance.
  8895.  
  8896. Your Win32 app gets a device handle for the miniport driver by opening the
  8897. file :
  8898.  
  8899. \\.\\ScsiPortN, where N = 0, 1, ...
  8900.  
  8901. Here are a couple of revelvant questions and their answers:
  8902.  
  8903. | How can I determine what port my miniport driver gets mapped to?  If I |
  8904. have an aha154x and fd8xx in the machine, which is port0 and which is | port1?
  8905. Would I have to look in the load order to determine this?
  8906.  
  8907. There are a couple ways of doing this. One is to interrogate the registry. The
  8908. information is there. The second is to open each port by name and look for
  8909. your card.
  8910.  
  8911. | What if I opened '\\.\d:' would the right thing happen and would my | ioctl
  8912. get routed to the correct port?
  8913.  
  8914. Yes it would, assuming that d: happened to map to a partition on a device on
  8915. that port. SCSI drivers pass unknown IOCTls down to the next layer.
  8916.  
  8917. Hope this helps and sorry for the previous incorrect information,
  8918.  
  8919. Paul Sanders, Microsoft
  8920.  
  8921. #: 16382 S13/Windows NT DDK   
  8922.     02-Nov-92  15:20:32
  8923. Sb: Device IO control for NT
  8924. Fm: Paul Sanders [Microsoft] 72350,2053
  8925. To: Robert Strickler 71160,2462
  8926.  
  8927. Robert,
  8928.     Get the handle to you miniport driver by opening \\.\ScsiPortN, where N =
  8929. 0, 1, 2...
  8930.     Once you have a handle, use DeviceIoControl in your Win32 app to pass the
  8931. IOCtl down to the driver.  See my answer to Msg #16165.
  8932.  
  8933. Hope this helps, Paul Sanders, Microsoft
  8934.  
  8935. #: 16338 S13/Windows NT DDK   
  8936.     02-Nov-92  10:17:49
  8937. Sb: Memory maped IO / Ints
  8938. Fm: Fred Schempp 72677,2672
  8939. To: All
  8940.  
  8941. Can anyone help me find a either example code or a referance that will allow
  8942. me to do program memory mapped IO and write a simple interupt service rout We
  8943. have scoured the Win32 docs and cant find a referance on accessing PHYSICAL
  8944. memory or the handling of INT's. We are told the DDK may help but it wont be
  8945. available for a month. I would appreciate any help or suggestions. Thanks
  8946.  
  8947.  
  8948.  
  8949. There is 1 Reply.
  8950.  
  8951. #: 16416 S13/Windows NT DDK   
  8952.     02-Nov-92  17:59:37
  8953. Sb: #16338-Memory maped IO / Ints
  8954. Fm: Cliff Garrett 76702,1531
  8955. To: Fred Schempp 72677,2672 (X)
  8956.  
  8957. Fred,
  8958.  
  8959. Q) Can anyone help me find a either example code or a referance that will
  8960. allow me to do program memory mapped IO and write a simple interupt service
  8961. rout We have scoured the Win32 docs and cant find a referance on accessing
  8962. PHYSICAL memory or the handling of INT's. We are told the DDK may help but it
  8963. wont be available for a month. I would appreciate any help or suggestions.
  8964. Thanks
  8965.  
  8966. A) It sounds like you are trying to operate a board of some sort that is
  8967. memory mapped, and possibly occupies some ports.  This basically constitutes
  8968. the need for  a miniport driver, and you are right, that the DDK provides
  8969. examples, and tools to do this.  This DDK is available now, so you don't have
  8970. to wait a month.  What is the board you are trying to write code for, a
  8971. scanner, fax board or something like that?.  The miniport model will allow you
  8972. to map memory, and register asn ISR quite easily, and allow a USER mode
  8973. process to interact with it via IOCTL calls.  Please let me know if you would
  8974. like more information on this.
  8975.  
  8976.  
  8977. Cliff Garrett <MS>
  8978.  
  8979. #: 16381 S13/Windows NT DDK   
  8980.     02-Nov-92  14:55:36
  8981. Sb: Promiscuous RX Stack?
  8982. Fm: Brian Lieuallen [MS] 76300,2506
  8983. To: Christian Beaumont 100034,2326 (X)
  8984.  
  8985. Christian,
  8986.  
  8987. This is definitly possible. You will have to write an NT device driver that
  8988. will communicate with upper edge services provided by NDIS(MacAddAdapter,
  8989. MacTransferData ect.)
  8990.  
  8991. Brian
  8992.  
  8993.  
  8994.  
  8995.  
  8996. There is 1 Reply.
  8997.  
  8998. #: 16441 S13/Windows NT DDK   
  8999.     03-Nov-92  03:32:02
  9000. Sb: #16381-Promiscuous RX Stack?
  9001. Fm: Christian Beaumont 100034,2326
  9002. To: Brian Lieuallen [MS] 76300,2506 (X)
  9003.  
  9004. Thanks Brian, I'll get stuck into the coding just as soon as I receive my DDK,
  9005. but it sounds like it may take some time.
  9006.  
  9007. Christian
  9008.  
  9009. #: 16469 S13/Windows NT DDK   
  9010.     03-Nov-92  09:51:38
  9011. Sb: NDIS3 & BusMaster DMA
  9012. Fm: bruce tanner 100063,1120
  9013. To: Brian lieuallen [MS] 76300,2506 (X)
  9014.  
  9015. Hi Brian,
  9016.  
  9017. These are probably silly questions ...but ... here they are anyway:-
  9018.  
  9019. q1. What HAL routines does NdisAllocateSharedMemory() use?
  9020.  
  9021. q2. I am working on an NDIS3 driver for a Bus master network card.
  9022.     Consequently I am dealing with physical addresses aswell as virtual
  9023.     addresses.
  9024.  
  9025.     Are there any easy virtToPhys and physTovirt functions?
  9026.  
  9027. Thanks.
  9028.  
  9029. #: 16471 S13/Windows NT DDK   
  9030.     03-Nov-92  10:36:21
  9031. Sb: NDIS3 & Bus master DMA
  9032. Fm: bruce tanner 100063,1120
  9033. To: Brian Lieuallen [MS] 76300,2506 (X)
  9034.  
  9035.  
  9036. Another question,
  9037.  
  9038. I need to be able to read a WORD from an area of memory described by a
  9039. physical address.
  9040.  
  9041. I was thinking of using NdisReadRegisterUshort() ...but I need the virtual
  9042. address of the area, to be able to use this ..... again a physTovirt would be
  9043. handy ....
  9044.  
  9045. Similarly, if I wanted to write a WORD to an area of memory described by a
  9046. physical address ..to use NdisWriteRegisterUshort() I would need a physTovirt.
  9047.  
  9048. Can I acheive this functionality without physTovirt in some other way? Or am I
  9049. being really silly.
  9050.  
  9051. Any help would be much appreciated!
  9052.  
  9053. Thanks
  9054.  
  9055. #: 16480 S13/Windows NT DDK   
  9056.     03-Nov-92  11:55:26
  9057. Sb: Beta/Build.exe error
  9058. Fm: Rick Holzer 70760,2473
  9059. To: sysop (X)
  9060.  
  9061. I just installed the Beta copy of the NT and the SDK.  I also re-installed the
  9062. DDK. 
  9063.  
  9064. As instructed in the installation program, I run "\ddk\buildenv" and then
  9065. "build -cef", in my development directory.
  9066.  
  9067. Result:
  9068. A "BUILD.EXE - Application Error" windows pops up on the screen. 
  9069. The message in the window is as follows:
  9070.  
  9071.         The instruction at "0x0001976e" referenced at "0x61206578".The  memory
  9072. could not be "read".
  9073.         
  9074.         Click on OK to terminate the application
  9075.         Click on CANCEL to debug the application
  9076.  
  9077. The DOS windows displays the start of the build session:
  9078.  
  9079.         BUILD:  Compile and Link for
  9080.  
  9081. (but the text ends there).
  9082.  
  9083. This didn't happen before the Beta release.  Did I miss something concerning
  9084. the new version's installation?
  9085.  
  9086. Help!!
  9087. Rick
  9088.  
  9089. There is 1 Reply.
  9090.  
  9091. #: 16502 S13/Windows NT DDK   
  9092.     03-Nov-92  15:14:49
  9093. Sb: #16480-Beta/Build.exe error
  9094. Fm: Paul Sanders [Microsoft] 72350,2053
  9095. To: Rick Holzer 70760,2473
  9096.  
  9097. Rick,
  9098.     Have you,
  9099.  
  9100. 1 - run \mstools\setenv.bat, or
  9101.  
  9102. 2 - added \mstools\bin to your path
  9103.     set LIB=x:\mstools\lib
  9104.     set INCLUDE=x:\mstools\h
  9105.  
  9106. Do one or the other (I do #2 from the System applet under Control Panel). Then
  9107. execute \ddk\buildenv.
  9108.  
  9109. Let me know if that clears up the problem.
  9110.  
  9111. Paul Sanders, Microsoft
  9112.  
  9113. #: 16304 S13/Windows NT DDK   
  9114.     01-Nov-92  13:50:43
  9115. Sb: KD viewing local symbols
  9116. Fm: Jim Harford 72350,3705
  9117. To: all
  9118.  
  9119. Have not gotten a response to my last message.  Here is a repeat:
  9120.  
  9121. I need to view local symbols via kernel debugger.  I can see global variables
  9122. but setting NTDEBUG=ntsd does not seem to help.  I am using July SDK and DDK. 
  9123. Can someone at Microsoft help me with this?
  9124.  
  9125.                         Thanks in advance!
  9126.                          
  9127.  
  9128. There are 2 Replies.
  9129.  
  9130. #: 16333 S13/Windows NT DDK   
  9131.     02-Nov-92  10:02:22
  9132. Sb: #16304-KD viewing local symbols
  9133. Fm: Paul Sanders [Microsoft] 72350,2053
  9134. To: Jim Harford 72350,3705
  9135.  
  9136. Jim,
  9137.    That would be my fault.  I wasn't sure of the answer and with most people
  9138. gone to the conference, I wasn't able to get much assistance.  I have sent
  9139. email around and should get some help shortly.
  9140.  
  9141. Sorry for the inconvenience,
  9142.  
  9143. Paul Sanders, Microsoft
  9144.  
  9145. #: 16507 S13/Windows NT DDK   
  9146.     03-Nov-92  16:05:46
  9147. Sb: #16304-KD viewing local symbols
  9148. Fm: Paul Sanders [Microsoft] 72350,2053
  9149. To: Jim Harford 72350,3705
  9150.  
  9151. Jim,
  9152.    I just received email from a developer who states that he could never get
  9153. it to work for either NTSD or I386KD.  For now, consider it broken and I will
  9154. contact the appropriate people with your problem.
  9155.  
  9156. Sorry,
  9157.  
  9158. Paul Sanders, Microsoft Developer Support
  9159.  
  9160. #: 16476 S13/Windows NT DDK   
  9161.     03-Nov-92  11:09:14
  9162. Sb: DDK update for beta 1
  9163. Fm: Muzaffer KAL [MSC] 70324,2553
  9164. To: MS
  9165.  
  9166. is there  going to be a DDK update to match October beta? If yes,  will it
  9167. include more driver sources ? (like a Microsoft serial mouse driver source)
  9168.  
  9169. Muzaffer
  9170.  
  9171.  
  9172. There is 1 Reply.
  9173.  
  9174. #: 16485 S13/Windows NT DDK   
  9175.     03-Nov-92  12:11:23
  9176. Sb: #16476-DDK update for beta 1
  9177. Fm: Cliff Garrett 76702,1531
  9178. To: Muzaffer KAL [MSC] 70324,2553 (X)
  9179.  
  9180. Muzaffer
  9181.  
  9182. /is there  going to be a DDK update to match October beta? If yes,  will it
  9183. /include more driver sources ? (like a Microsoft serial mouse driver source)
  9184. Yes there will be a new DDK.  This will have more sources as well.  The
  9185. sermouse is one of them, but there is also video.  This should be release
  9186. within the next week.
  9187.  
  9188. cliff
  9189.  
  9190.  
  9191.  
  9192.  
  9193.  
  9194.  
  9195. There is 1 Reply.
  9196.  
  9197. #: 16511 S13/Windows NT DDK   
  9198.     03-Nov-92  16:28:26
  9199. Sb: #16485-DDK update for beta 1
  9200. Fm: Muzaffer KAL [MSC] 70324,2553
  9201. To: Cliff Garrett 76702,1531 (X)
  9202.  
  9203. great, thanks for the info.
  9204.  
  9205. Muzaffer
  9206.  
  9207. #: 16571 S13/Windows NT DDK   
  9208.     04-Nov-92  05:53:12
  9209. Sb: NdisAllocateSharedMemory
  9210. Fm: bruce tanner 100063,1120
  9211. To: Brian Lieuallen [MS] 76300,2506 (X)
  9212.  
  9213.  
  9214. Hi,
  9215.  
  9216. I want to allocate some memory for use with a BusMaster DMA card. From the
  9217. looks of it I need to use NdisAllocateSharedMemory().
  9218.  
  9219. However, my card can only address upto 16M. So my question is whether Ill be
  9220. ok allocating buffer space using NdisAllocateSharedMemory().
  9221.  
  9222. Thanks.
  9223.  
  9224.  
  9225.  
  9226. There is 1 Reply.
  9227.  
  9228. #: 16633 S13/Windows NT DDK   
  9229.     04-Nov-92  13:46:40
  9230. Sb: #16571-NdisAllocateSharedMemory
  9231. Fm: Brian Lieuallen [MS] 76300,2506
  9232. To: bruce tanner 100063,1120 (X)
  9233.  
  9234. Bruce,
  9235.  
  9236. NdisAllocateSharedMemory() is the service that you will want to use. The
  9237. system will take care of making sure that the memory is accessable.
  9238.  
  9239. In answer to your earlier questions, NdisAllocateSharedMemory more or less
  9240. translates to HalAllocateCommonBufer().
  9241.  
  9242. There is no service to specifically convert from a physical address to a
  9243. virtual address, but NdisAllocateShared memory returns both a virtual address
  9244. and a physical address. NdisStartBufferMapping can be used to get the physical
  9245. address of a buffer to pass to your busmaster card. You can also use
  9246. NdissGetBufferPhysicalAddres().
  9247.  
  9248. Brian
  9249.  
  9250. #: 16715 S13/Windows NT DDK   
  9251.     05-Nov-92  08:29:35
  9252. Sb: NT - PCL Native Driver
  9253. Fm: Giri Sithamraju 73157,3306
  9254. To: Dave Snipp
  9255.  
  9256. The final version of Windows NT DDK when released, will it contains any code
  9257. examples to write a native mode driver for PCL5/PCL4 printer. Are we limitied
  9258. to always use the minidrivers with some sort of filter procedures with the
  9259. Print Processors.  These filter processors may add the performance
  9260. enhancements that are unique to our printer hardware. Please advice me how one
  9261. should prepare for the development of PCL printer drivers for NT.
  9262.  
  9263. Thank You Giri
  9264.  
  9265. #: 16638 S13/Windows NT DDK   
  9266.     04-Nov-92  14:27:32
  9267. Sb: Unique Number Allocation
  9268. Fm: Michael Hall 72607,3422
  9269. To: Paul Sanders [MS] 72350,2053 (X)
  9270.  
  9271. Paul,
  9272.  
  9273.    The class/port driver pair that we are writing doesn't fit into the
  9274.    set of standard devices, so the predefined Device Type values (used when
  9275.    calling IoCreateDevice) won't work for us.  After talking with Bob
  9276.    Taniguchi, Keith Kegley, and several developers, the general feeling was
  9277.    that Microsoft would be (hopefully soon) providing some method of
  9278.    requesting a Device Type value.  This would probably work like the
  9279.    Windows 3.1 VxD ID number allocation.  A similar method of allocating
  9280.    numbers will also be needed for Public Device I/O Control values.
  9281.  
  9282.    I'm sure several of the (MS) people we talked with a the DDK conference
  9283.    are working on setting up these mechanisms, but I wanted to send in a
  9284.    note saying "YES, this is very important" and "please setup something
  9285.    soon."  For our in-house development and testing we can choose any
  9286.    numbers for the Device Type values and Public Device I/O Control values
  9287.    that we need.  However, when we start sending our drivers out for beta
  9288.    testing, I really would like to have our own, unique numbers for these
  9289.    values.
  9290.  
  9291.    I just wanted to emphasize this need.  Thanks for listening.
  9292.     Mike
  9293.  
  9294. There is 1 Reply.
  9295.  
  9296. #: 16718 S13/Windows NT DDK   
  9297.     05-Nov-92  09:17:31
  9298. Sb: #16638-Unique Number Allocation
  9299. Fm: Paul Sanders [Microsoft] 72350,2053
  9300. To: Michael Hall 72607,3422 (X)
  9301.  
  9302. Mike,
  9303.    I am forwarding your mail on to appropriate groups who are interested in
  9304. your concerns.  If I receive any feedbac, I will pass it on to you.
  9305.  
  9306. Thank you for your comments,
  9307.  
  9308. Paul Sanders, Microsoft
  9309.  
  9310. #: 16735 S13/Windows NT DDK   
  9311.     05-Nov-92  12:24:57
  9312. Sb: Ndis 3.0 and DMA
  9313. Fm: Brian Lieuallen [MS] 76300,2506
  9314. To: Christian Thrysoe 100022,1401 (X)
  9315.  
  9316. Christian,
  9317.  
  9318. In order to setup busmaster ISA card with NDIS you need to set the Master
  9319. element of the AdapterInformation structure to TRUE. You should also specify
  9320. the channel number that you will be using. The AdapterInformation structure is
  9321. then passed to NdisRegisterAdapter().
  9322.  
  9323. You should not call NdisAllocateDmaChannel.
  9324.  
  9325. Brian
  9326.  
  9327. #: 16345 S13/Windows NT DDK   
  9328.     02-Nov-92  10:56:21
  9329. Sb: WinNT multitasking
  9330. Fm: Harry Burnette 75140,210
  9331. To: sysop (X)
  9332.  
  9333. I am curious about the capabilities of WinNT to multitask DOS applications. 
  9334. For example, will I be able to back up to tape using CPBackup for DOS while
  9335. simultaneously formatting a diskette, communicating on CompuServe and running
  9336. Norton Speed Disk?  (Just curious; don't know if I'd be crazy enough to really
  9337. try this!!)
  9338.  
  9339. Thanks,
  9340. Dave
  9341. P.S. If this question belongs in a different section or forum, please let me
  9342. know. 
  9343.  
  9344. There is 1 Reply.
  9345.  
  9346. #: 16398 S13/Windows NT DDK   
  9347.     02-Nov-92  16:01:00
  9348. Sb: #16345-WinNT multitasking
  9349. Fm: Cliff Garrett 76702,1531
  9350. To: Harry Burnette 75140,210 (X)
  9351.  
  9352. Harry,
  9353.  
  9354. NT Will multitask MS-DOS apps great.  I typically use 4dos in one command
  9355. prompt, while running TAPCIS in another, and I can also format a floppy at the
  9356. same time, albeit in an NT prompt.  As far as the CPBackup, I haven't tried
  9357. this.
  9358.  
  9359. Cliff Garrett <MS>
  9360.  
  9361.  
  9362.  
  9363.  
  9364. There is 1 Reply.
  9365.  
  9366. #: 16515 S13/Windows NT DDK   
  9367.     03-Nov-92  16:46:40
  9368. Sb: #16398-WinNT multitasking
  9369. Fm: Jeff Thomson 71460,3222
  9370. To: Cliff Garrett 76702,1531 (X)
  9371.  
  9372. Cliff,
  9373.  
  9374. > NT Will multitask MS-DOS apps great.  I typically use 4dos in one command
  9375. > prompt, while running TAPCIS in another
  9376.  
  9377. I have run TAPCIS in a DOS VM, but had a bad problem w/ dropped chars
  9378. @9600 baud when posting messages composed offline. Any advice on PIF
  9379. settings that will allow this setup to work more reliably would be greatly
  9380. appreciated.
  9381.  
  9382.         -- Jeff
  9383.  
  9384.  
  9385.  
  9386. There is 1 Reply.
  9387.  
  9388. #: 16740 S13/Windows NT DDK   
  9389.     05-Nov-92  12:49:51
  9390. Sb: #16515-WinNT multitasking
  9391. Fm: Cliff Garrett 76702,1531
  9392. To: Jeff Thomson 71460,3222 (X)
  9393.  
  9394. I do not use any PIF settings.  sorry.
  9395.  
  9396. cliff
  9397.  
  9398. #: 16568 S13/Windows NT DDK   
  9399.     04-Nov-92  05:23:38
  9400. Sb: NTSD with display driver
  9401. Fm: ray shapiro 71431,1450
  9402. To: sysop (X)
  9403.  
  9404. Hi,
  9405.  
  9406. When I was out in Anaheim, I asked about using NTSD to debug
  9407. display drivers.  The answer was "yes", but the magic incantaions
  9408. went by a bit fast.  Could someone please post the rules for
  9409. invoking NTSD to debug display drivers.
  9410.  
  9411. (I accidentally posted this to the non-tech forum a couple of days
  9412. ago.)
  9413.  
  9414. Thanks,
  9415. Ray
  9416.  
  9417.  
  9418. There is 1 Reply.
  9419.  
  9420. #: 16755 S13/Windows NT DDK   
  9421.     05-Nov-92  14:48:32
  9422. Sb: #16568-NTSD with display driver
  9423. Fm: Cliff Garrett 76702,1531
  9424. To: ray shapiro 71431,1450 (X)
  9425.  
  9426. Ray,
  9427.  
  9428. /When I was out in Anaheim, I asked about using NTSD to debug /display
  9429. drivers.  The answer was "yes", but the magic incantaions /went by a bit fast.
  9430. Could someone please post the rules for /invoking NTSD to debug display
  9431. drivers. I don't know in what detail you expect to debug your display driver
  9432. with NTSD.  I would urge you now to use i386KD.  You can trace into the detail
  9433. of what your BitBlt is going to do, ect..  Is the reason you are asking
  9434. because you do not want to use two machines??
  9435.  
  9436. Please let me know what the intention is here.
  9437.  
  9438. Thanks,
  9439.        Cliff Garrett
  9440.  
  9441.  
  9442.  
  9443.  
  9444.  
  9445. There is 1 Reply.
  9446.  
  9447. #: 16765 S13/Windows NT DDK   
  9448.     05-Nov-92  15:57:03
  9449. Sb: #16755-NTSD with display driver
  9450. Fm: ray shapiro 71431,1450
  9451. To: Cliff Garrett 76702,1531 (X)
  9452.  
  9453. There are several reasons why I want to use NTSD.  One reason
  9454. is because NTSD is a symbolc debugger which let's you see
  9455. your code.  Another reason is because it would be possible to
  9456. do some debugging on a single machine, but I would like to
  9457. use NTSD on a separate machine, also.
  9458.  
  9459. Apparently, Jeff Newman and some of the other display Microsoft driver
  9460. developers do this, and think it is useful.  Jeff and others
  9461. outlined a few ways in which NTSD could be used... one involved
  9462. loading a secondary display driver and the other was using
  9463. the kernal debugger to set a breakpoint in the display driver and having NTSD
  9464. do it's thing while the driver was initializing.
  9465.  
  9466. I'm writing a driver in C.  The kernal debugger is not really all
  9467. that helpful for the work I'm doing.  It seems to be standard paractice other
  9468. there is Redmond!
  9469.  
  9470. Thanks,
  9471.  
  9472. Ray
  9473.  
  9474. #: 16816 S13/Windows NT DDK   
  9475.     06-Nov-92  09:15:42
  9476. Sb: NT Run-Time Functions
  9477. Fm: Peter G. Johansson 71023,557
  9478. To: SYSOP (X)
  9479.  
  9480. Where can I find the include file that has function prototype definitions for
  9481. such things as RtlZeroMemory, RtlMoveMemory, etc?  There used to be a file on
  9482. either the SDK or the DDK called "ntrtl.h", but I cannot locate this on either
  9483. October release CD-ROM.
  9484.  
  9485. Have these been moved to a new include file?  If not, why are they absent from
  9486. the SDK/DDK?  
  9487.  
  9488. #: 16817 S13/Windows NT DDK   
  9489.     06-Nov-92  09:35:13
  9490. Sb: Problem with XGA
  9491. Fm: Randy Threewits 71005,1373
  9492. To: sysop (X)
  9493.  
  9494.  
  9495. There seems to be a problem running DOS apps when an XGA adapter exists. I
  9496. installed NT (Oct release) on an IBM Model 80 (16 Meg Ram, 25 MHz) with a
  9497. standard VGA monitor and everything worked fine.  I then added an XGA-2 card
  9498. in the system within DOS and everthing worked fine with both monitors and
  9499. adapters.
  9500.  
  9501. In NT I did NOT change the setup to indicate a new adapter.  I still wanted to
  9502. use the VGA as the monitor since the VGA driver appears to be more complete. 
  9503. I did not have a monitor attached to the XGA-2 adapter.  So essentially my
  9504. setup was VGA on planar, XGA-2 card and an 8513 monitor on the VGA.  When I
  9505. try to run 16-bit DOS application [ex. printf("Hello world") ] I get the
  9506. following error:
  9507.   Title bar: NTVDM.EXE - Application Error
  9508.   Message:  The instruction at "0x60615947" referenced memory at "0x30180700".
  9509. The memory could not be "written".
  9510.    OK-terminate, Cancel to debug.
  9511.  
  9512. This is essentially the same thing that occurred when I installed NT with the
  9513. XGA-2 as the adapter to use.   If I remove the card, HelloWorld works fine.  
  9514. It almost looks like NT is using the XGA driver when doing DOS virtualization.
  9515.  
  9516. Is there some way that I can copy and rename drivers so that I use VGA on NT
  9517. but XGA on DOS and OS/2?  Removing the card is a non-desirable option.
  9518.  
  9519. Thanks
  9520.  
  9521. #: 16820 S13/Windows NT DDK   
  9522.     06-Nov-92  10:38:46
  9523. Sb: File Systems...
  9524. Fm: Mike Shappell 70007,5116
  9525. To: MS Support
  9526.  
  9527. I noticed that information necessary to create a new file system is not
  9528. included in the DDK (not that I am surprised given the closed nature of the
  9529. system).  I was wondering where I can get this information.  I am currently
  9530. working on a project that will require writing a new IFS for NT.  Thanks in
  9531. advance for any information you can provide.
  9532.  
  9533. Mike Shappell
  9534. Intuitive Software Systems, Inc.
  9535.  
  9536. #: 16320 S13/Windows NT DDK   
  9537.     01-Nov-92  20:18:38
  9538. Sb: Postscript viewer ? ? ?
  9539. Fm: Jim U'Ren 72371,1235
  9540. To: sysop (X)
  9541.  
  9542. I am looking for a Postscript viewer for the NT docs on the Beta CD-ROM. The
  9543. file directory indicates a PSVIEW.ZIP file has be uploaded but it does not
  9544. appear to be available in the Forum.
  9545.  
  9546. Would appreciate any help you can avail.
  9547.  
  9548. Jim
  9549.  
  9550.  
  9551.  
  9552. There is 1 Reply.
  9553.  
  9554. #: 16717 S13/Windows NT DDK   
  9555.     05-Nov-92  08:50:02
  9556. Sb: #16320-Postscript viewer ? ? ?
  9557. Fm: Stu Wiley 70473,1351
  9558. To: Jim U'Ren 72371,1235
  9559.  
  9560. Jim,
  9561.  
  9562. Microsoft doesn't produce a postscript viewer, so anything you find will be
  9563. third party.  Apparently WIX has one on their BBS, and there is another called
  9564. Ghostscript floarting around up here.  I suggest you ask ALL in the WINNT
  9565. forum section 1, that way you can get some suggestions. I am not aware that
  9566. one has been loaded to the libraries, but lib 1 in WINNT is your best bet.
  9567.  
  9568. The October WIN32SDK release has docs in Windows Write File Format as well, so
  9569. you can view through compatible word processors and desktop publishing
  9570. software.  The Windows Viewer that comes on teh MSDN reliminary CD-Rom is the
  9571. best Microsoft solution for viewing the references contained on the WIN32SDK
  9572. CD.
  9573.  Stu Wiley
  9574.  Developer Service Team
  9575.  
  9576.  
  9577.  
  9578. There is 1 Reply.
  9579.  
  9580. #: 16791 S13/Windows NT DDK   
  9581.     05-Nov-92  19:27:06
  9582. Sb: #16717-Postscript viewer ? ? ?
  9583. Fm: Jim Gill 70530,1771
  9584. To: Stu Wiley 70473,1351 (X)
  9585.  
  9586. Stu,
  9587.  
  9588. Apart from the viewer question, are there docs on the October DDK disk?  The
  9589. release notes imply it (I *think*) but I don't see anything that looks like
  9590. docs.
  9591.  
  9592. Apologies in advance if I've stupidly overlooked them (that is, once you tell
  9593. me where they are).
  9594.  
  9595.  
  9596.  
  9597. There is 1 Reply.
  9598.  
  9599. #: 16831 S13/Windows NT DDK   
  9600.     06-Nov-92  11:15:30
  9601. Sb: #16791-Postscript viewer ? ? ?
  9602. Fm: Dwight Matheny/Microsoft 70750,2340
  9603. To: Jim Gill 70530,1771 (X)
  9604.  
  9605. I'm assuming you got the DDK CD at the conference. There are no docs on this
  9606. CD- they weren't done in time. All attendees to the Anaheim conference will
  9607. get a new CD (with the docs in PS and .WRI) and a set of printed docs.
  9608.  
  9609. -Dwight (MS)
  9610.  
  9611. #: 16842 S13/Windows NT DDK   
  9612.     06-Nov-92  13:58:40
  9613. Sb: NDIS Protocol Stack Info
  9614. Fm: Joe Erickson 71360,466
  9615. To: All
  9616.  
  9617. I am interested in creating a protocol stack for Windows NT and would like to
  9618. know where to get more info on doing so.
  9619.  
  9620. I have the SDK and DDK, but they do not provide a lot of help on the subject.
  9621. What would really be nice is an example protocol stack (built on NDIS 3.0 of
  9622. course).
  9623.  
  9624. Any help will be greatly appreciated!
  9625.  
  9626. #: 16604 S13/Windows NT DDK   
  9627.     04-Nov-92  11:07:39
  9628. Sb: 3rd Party SCSI H/A's
  9629. Fm: Cameron T. Brett (UltraS 72370,1130
  9630. To: Paul Sanders [Microsoft] 72350,2053 (X)
  9631.  
  9632. To Sysop or SCSI Miniport Specialist:
  9633.  
  9634. We are trying to install a third party SCSI host adapter that is not i not
  9635. included in the boot disk of the October BETA release.  We have spoken to some
  9636. engineers at the porting lab and obtained some instructions for doing this.
  9637.  
  9638. Is there any other documents available detailing installing a SCSI host
  9639. adapter that is not included on the boot disk??
  9640.  
  9641. Thanks in advance for you help.
  9642.  
  9643. Sincerely, Cameron T. Brett
  9644.  
  9645. There is 1 Reply.
  9646.  
  9647. #: 16856 S13/Windows NT DDK   
  9648.     06-Nov-92  16:07:46
  9649. Sb: #16604-3rd Party SCSI H/A's
  9650. Fm: Paul Sanders [Microsoft] 72350,2053
  9651. To: Cameron T. Brett (UltraS 72370,1130
  9652.  
  9653. Cameron,
  9654.  
  9655. Did this get resolved for you?  I understand Lee Fisher provided UltraStor
  9656. with a method for doing this.  If not, let me know.
  9657.  
  9658. Thanks,
  9659.  
  9660. Paul Sanders, Microsoft
  9661.  
  9662. #: 16618 S13/Windows NT DDK   
  9663.     04-Nov-92  12:43:02
  9664. Sb: net start/stop <driver>
  9665. Fm: Michael Hall 72607,3422
  9666. To: Paul Sanders 72350,2053 (X)
  9667.  
  9668. Paul Sanders:
  9669.  
  9670. I am writing an NT device driver and would like to be able to dynamically
  9671. load and unload it using "net start <drivername>" and "net stop <drivername>".
  9672. If <drivername> is a monolithic device driver then the driver successfully
  9673. loads and unloads.  Unfortunately, my device driver is layered.
  9674.  
  9675. My class driver successfully unloads but I am unable to reload it.  This is
  9676. the error that it gives me the first time:
  9677.  
  9678.      System error 5 has occurred.
  9679.      Access Denied.
  9680.  
  9681. This is the error that it gives me every other time:
  9682.  
  9683.      System error 2 has occurred.
  9684.      The system cannot find the file specified.
  9685.  
  9686. The information printed out by my class driver indicates that it was unable
  9687. to get the port device driver object.  I believe that this is because when
  9688. the class driver is unloaded, I don't undo the effect of the
  9689. IoGetDeviceObjectPointer() call that my class driver's DriverEntry() uses
  9690. to establish a connection to my port driver.
  9691.  
  9692. If I try to unload my port driver then the system seems to go through some
  9693. timeout period and then claims that it has unloaded my port driver:
  9694.  
  9695.      The BRUTUS service is stopping......
  9696.      The BRUTUS service was successfully stopped.
  9697.  
  9698. However, the port driver's unload routine is never called and when I
  9699. subsequently try to load my port driver I get the following error:
  9700.  
  9701.      The requested service has already been started.
  9702.      More help is available by typing NET HELPMSG 2182.
  9703.  
  9704. I believe that the port driver is never really unloaded, but the net
  9705. program incorrectly reports that it was.  I also believe that the reason
  9706. that the port driver is unable to unload is because it thinks that it is
  9707. still being used because the class driver was unable to undo the effect of
  9708. its IoGetDeviceObjectPointer() call.
  9709.  
  9710. Please help me understand what is going wrong and explain how I can fix it.
  9711.  
  9712. Thanks for your time,
  9713.  
  9714. Clay Bean.
  9715.  
  9716. There is 1 Reply.
  9717.  
  9718. #: 16862 S13/Windows NT DDK   
  9719.     06-Nov-92  16:24:09
  9720. Sb: #16618-net start/stop <driver>
  9721. Fm: Paul Sanders [Microsoft] 72350,2053
  9722. To: Michael Hall 72607,3422
  9723.  
  9724. Clay,
  9725.    I'm not really sure of an immediate answer for you.  We'll probably have to
  9726. go through a few iterations here to solve it.
  9727.    My first couple of questions are probably off the wall, but they're a
  9728. start.
  9729.    #1 (shot in the dark) - log on as Administrator and retry loading and
  9730. unloading.  It might be related to access rights (but I doubt it).
  9731.  
  9732.    #2 find a few strategic points to break into the kernel debugger.  Once in
  9733. type : !drivers
  9734.  
  9735. This will display all device drivers that are loaded plus their memory
  9736. information.
  9737.  
  9738. In the meantime, I will continue to research for you.  If you get any
  9739. pertinent information, please let me know.
  9740.  
  9741. Thanks,
  9742.  
  9743. Paul Sanders, Microsoft
  9744.  
  9745. #: 16586 S13/Windows NT DDK   
  9746.     04-Nov-92  09:52:11
  9747. Sb: subsystems and pipes/LPC
  9748. Fm: Enzo Piombo 100064,2756
  9749. To: ALL
  9750.  
  9751. Hello,
  9752.         I need to find a way to pass data from programs running in any
  9753. subsystem (OS/2, Posix, Dos, WOW, Win32) to a single program running in the
  9754. Win32 subsystem and viceversa.
  9755.         Do anyone have any idea about which are the possible ways: I read that
  9756. LPC is used internally by the system, is it usable by any program in any
  9757. subsystem ? How ?
  9758.         Can named pipes do the job ? What about performances ?
  9759.         I've a further constraint: I need to produce asynchronous
  9760. (unsolicited) notifications from the Win32 program to the programs running in
  9761. the various subsystems. The effect of the notifications should be the call of
  9762. a postroutine for DOS programs and the Post of a Windows message for WOW
  9763. programs.
  9764.  
  9765.         If there is not any standard feature of this kind, can a driver
  9766. implement these functionalities ?
  9767.  
  9768.         Every suggestion will be greatly appreciated.
  9769.  
  9770.   
  9771.  
  9772. There is 1 Reply.
  9773.  
  9774. #: 16863 S13/Windows NT DDK   
  9775.     06-Nov-92  16:24:13
  9776. Sb: #16586-subsystems and pipes/LPC
  9777. Fm: Paul Sanders [Microsoft] 72350,2053
  9778. To: Enzo Piombo 100064,2756
  9779.  
  9780. Enzo,
  9781.    I don't think you'll want to use a device driver for this.  I don't know
  9782. the answer.  Try reposting this question in some of the other sections of
  9783. MSWIN32.
  9784.  
  9785. Thanks,
  9786.  
  9787. Paul Sanders, Microsoft
  9788.  
  9789. #: 16637 S13/Windows NT DDK   
  9790.     04-Nov-92  14:27:25
  9791. Sb: Fail an Associated IRP?
  9792. Fm: Michael Hall 72607,3422
  9793. To: Paul Sanders [MS] 72350,2053 (X)
  9794.  
  9795. Paul,
  9796.   The DDK conference was very informative.  I found out the answer to my
  9797.   "Dos copy command" question.  Darryl wasn't sure why it failed in the
  9798.   July release, but it works correctly in the Oct release.
  9799.  
  9800.   We talked to Darryl about using Associated IRPs when sending IRPs from our
  9801.   class driver to our port driver.  Associated IRPs have the benefit of the
  9802.   I/O Manager automatically completing the Master IRP when all of the
  9803.   Associated IRPs are completed by our port driver.  My questions is: what
  9804.   happens when the port driver fails (completes with an error status) one of
  9805.   the Associated IRPs.  Since the remaining Associated IRPs will be in the
  9806.   port driver's IRP queue, how will my port driver know to ignore those
  9807.   IRPs?  The class driver might send three Associated IRPs to the port
  9808.   driver.  If the first one fails, I don't want the port driver to act upon
  9809.   the other two IRPs.  Will the I/O Manager cancel the remaining
  9810.   Associated IRPs or will my port driver need to "know" that it just failed
  9811.   an Associated IRP so it needs to remove the remaining Associated IRPs from
  9812.   the queue (and complete them with an error status) before proceeding with
  9813.   the next IRP?  It seems like the I/O Manager should take care of this for
  9814.   me.  Having my port driver "know" to ignore some number of IRPs after
  9815.   failing one seems a little dangerous.
  9816.  
  9817.   Thanks,
  9818.     Mike
  9819.  
  9820.  
  9821.  
  9822. There is 1 Reply.
  9823.  
  9824. #: 16864 S13/Windows NT DDK   
  9825.     06-Nov-92  16:24:19
  9826. Sb: #16637-Fail an Associated IRP?
  9827. Fm: Paul Sanders [Microsoft] 72350,2053
  9828. To: Michael Hall 72607,3422
  9829.  
  9830. Mike,
  9831.    Nothing is done to track Associated IRPs and deal with them.  This is
  9832. because it would be a massive undertaking to try and anticipate all possible
  9833. failure modes and deal with each of them.  Unfortunately, this is the cost of
  9834. Associated IRPs.  It's up to you, the driver writer, to deal with each failure
  9835. appropriately.  It might be simpler to use multiple IRPs and handle them
  9836. yourself.
  9837.  
  9838. Thanks,
  9839.  
  9840. Paul Sanders, Microsoft
  9841.  
  9842.  
  9843.  
  9844.  
  9845. #: 16295 S14/Win32s Specific   
  9846.     01-Nov-92  09:35:44
  9847. Sb: #16231-Win32 Applications in Wi
  9848. Fm: Bill Pytlovany 70642,2122
  9849. To: Lee Hart [Microsoft] 76150,2536 (X)
  9850.  
  9851. >>It would really help if you try running your apps...
  9852.  
  9853. After re-reading, I wanted to be sure you understood that I'm not talking
  9854. about my apps.  I'm trying to run other applications like those shipping with
  9855. Windows NT.(ie Clock, Calendar, the new WIn32 Help etc...)
  9856.  
  9857. I would have thought they would work ok with Win32s, perhaps I'm jumping ahead
  9858. too soon.  I'll let you know if I have problems with the app I'm doing.
  9859.  
  9860. Thanks!
  9861. Bill Pytlovany
  9862.  
  9863.  
  9864. #: 16357 S14/Win32s Specific   
  9865.     02-Nov-92  12:13:27
  9866. Sb: #16223-win32s octrel outofmem
  9867. Fm: Mark Kumler 70404,261
  9868. To: Lee Hart [Microsoft] 76150,2536 (X)
  9869.  
  9870. Lee:
  9871.   Thanks I will give that a try. Mark
  9872.  
  9873. #: 16366 S14/Win32s Specific   
  9874.     02-Nov-92  14:09:27
  9875. Sb: WIN32s
  9876. Fm: Lee Hart [Microsoft] 76150,2536
  9877. To: Eric M. Guli 70272,3627 (X)
  9878.  
  9879. Do you get these error messages during the install, or after install and once
  9880. you have rebooted?  Do you have a kernel debugger for your Windows 3.1 machine
  9881. set up?
  9882.  
  9883. Lee
  9884.  
  9885. #: 16367 S14/Win32s Specific   
  9886.     02-Nov-92  14:09:32
  9887. Sb: INSTALL PROBLEM
  9888. Fm: Lee Hart [Microsoft] 76150,2536
  9889. To: Steve Woolley 75570,1620 (X)
  9890.  
  9891. Have you tried making a fresh floppy and re-installing? (2) Can you try
  9892. installing on a non-stac'd partition?
  9893.  
  9894. Thanks,
  9895.  
  9896. Lee
  9897.  
  9898. #: 16406 S14/Win32s Specific   
  9899.     02-Nov-92  16:35:04
  9900. Sb: #16248-Unhandled exception
  9901. Fm: Lee Hart [Microsoft] 76150,2536
  9902. To: Robert Zeff 70323,1251 (X)
  9903.  
  9904. >>>I am using the debugger, but can't figure out where the problem is.
  9905.    Any hints would be appreciated.
  9906.  
  9907. Which Win32sDebug flags have you set in system.ini?  You may want to set the
  9908. verbose bit, as documented on Pages 19 & 20 of the Win32s Programmer's
  9909. Reference.  The SEH Info bit may also be of use.
  9910.  
  9911. Lee
  9912.  
  9913. #: 16284 S14/Win32s Specific   
  9914.     31-Oct-92  17:41:56
  9915. Sb: MFC / DLL
  9916. Fm: Jim Conger 73220,324
  9917. To: ALL
  9918.  
  9919. I'm having trouble converting a DLL based on the MFC classes from Windows 3.1
  9920. to Windows NT.  Although both the DLL and EXE compile fine, the linker can't
  9921. find the exported function from the DLL.  I'm using the following linker
  9922. command line to create the DLL and export library:
  9923.  
  9924.   coff -link -DLL -base:0x1C000000 \
  9925.   -subsystem:windows -entry:WinMainCRTStartup -machine:i386 \
  9926.   -out:MYDLL.dll MYDLL.obj nafxcw.lib libc.lib ntdll.lib \
  9927.   winspool.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib \
  9928.   version.lib
  9929.  
  9930.   lib -out:MYDLL.lib -def:MYDLL.def -machine:i386
  9931.  
  9932. (I'm suspicious that the entry point should be something other than
  9933. WinMainCRTStartup.  I tried LibMain, but that resulted in an unresolved
  9934. external.)
  9935.  
  9936. The real problem surfaces when I try to link the EXE that uses the DLL.  The
  9937. linker does not find the exported function in MYDLL.LIB.  Here is the linker
  9938. call for the EXE:
  9939.  
  9940.   coff -link -subsystem:windows -entry:WinMainCRTStartup \
  9941.   -out:MYEXE.exe MYEXE.obj nafxcw.lib libc.lib ntdll.lib \
  9942.   winspool.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib \
  9943.   version.lib MYDLL.lib
  9944.  
  9945. I verified that the MYDLL.lib export library exists and contains the correct
  9946. name for the exported function (declared _extern "C" to avoid name mangling).
  9947. Clearly the linker is not finding that exported function name, but I cannot
  9948. figure out why.  Any ideas?
  9949.  
  9950. Jim Conger
  9951.  
  9952. There is 1 Reply.
  9953.  
  9954. #: 16330 S14/Win32s Specific   
  9955.     02-Nov-92  09:17:22
  9956. Sb: #16284-MFC / DLL
  9957. Fm: Lee Hart [Microsoft] 76150,2536
  9958. To: Jim Conger 73220,324 (X)
  9959.  
  9960. (1) this question belongs in Section 7 (Tools-Microsoft).  Please direct any
  9961. followup to there.
  9962.  
  9963. (2) It appears that you are calling LIB incorectly - you must specify all of
  9964. the .OBJ files on the LIB command line. This is a common problem.
  9965.  
  9966.  Lee
  9967.  Microsoft Developer Support
  9968.  
  9969.  
  9970.  
  9971. There is 1 Reply.
  9972.  
  9973. #: 16425 S14/Win32s Specific   
  9974.     02-Nov-92  19:11:06
  9975. Sb: #16330-MFC / DLL
  9976. Fm: Jim Conger 73220,324
  9977. To: Lee Hart [Microsoft] 76150,2536 (X)
  9978.  
  9979. OK, I'll send to the request to section 7 - thanks.
  9980.  
  9981. #: 16283 S14/Win32s Specific   
  9982.     31-Oct-92  16:42:21
  9983. Sb: WM_SETHANDLE
  9984. Fm: KENNETH R SCHROCK 70621,1521
  9985. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9986.  
  9987.         My NT editor has a problem when running on 3.1 using Win32s.
  9988. It will load the file, but it doesn't show in the edit window. Same for save.
  9989. It will save a file of 0 bytes. Seems to be a problem with the WM_SETHANDLE
  9990. and WM_GETHANDLE messages or memory. 
  9991.  
  9992. There is 1 Reply.
  9993.  
  9994. #: 16404 S14/Win32s Specific   
  9995.     02-Nov-92  16:34:54
  9996. Sb: #16283-WM_SETHANDLE
  9997. Fm: Lee Hart [Microsoft] 76150,2536
  9998. To: KENNETH R SCHROCK 70621,1521 (X)
  9999.  
  10000. >>>My NT editor has a problem when running on 3.1 using Win32s.  It will
  10001.    load the file, but it doesn't show in the edit window. Same for save.
  10002.    It will save a file of 0 bytes. Seems to be a problem with the
  10003.    WM_SETHANDLE and WM_GETHANDLE messages or memory.
  10004.  
  10005. Page 12 of the Win32s Programmer's Reference clearly states that WM_SETHANDLE
  10006. and WM_GETHANDLE are not supported.
  10007.  
  10008. Lee
  10009.  
  10010.  
  10011.  
  10012.  
  10013.  
  10014. There is 1 Reply.
  10015.  
  10016. #: 16440 S14/Win32s Specific   
  10017.     03-Nov-92  01:56:08
  10018. Sb: #16404-WM_SETHANDLE
  10019. Fm: KENNETH R SCHROCK 70621,1521
  10020. To: Lee Hart [Microsoft] 76150,2536 (X)
  10021.  
  10022.         I keep saying I'm going to read things before I start. <g>
  10023.             Thanks.
  10024.  
  10025. #: 16470 S14/Win32s Specific   
  10026.     03-Nov-92  09:53:26
  10027. Sb: Unverisal Thunk
  10028. Fm: Craig S. Ellis 70444,50
  10029. To: ALL
  10030.  
  10031. To All,
  10032.    In the back of the October WIN32 release notes was a proposal for a
  10033. universal Thunk (UT).  I would just like to take this time out to agree with
  10034. this proposal and would very much welcome this enhancement in the next release
  10035. of Win32s.
  10036.    In short, I believe the UT will provide developer's a bridge to more to the
  10037. 32 bit API without being tied down by the device driver suppler's time
  10038. schedule.
  10039.    When does Microsoft plan to make UTs available to the public?
  10040.  
  10041. Craig S. Ellis Reuters Information Technology
  10042.  
  10043. #: 16443 S14/Win32s Specific   
  10044.     03-Nov-92  04:56:57
  10045. Sb: WINDOWS NT AND NEC-CD
  10046. Fm: RICHARD VEZINA 75140,1243
  10047. To: SysOp (X)
  10048.  
  10049. Problem installing NT, i have a NEC CD-ROM model CDR-74 with a NEC SCSI
  10050. controller, unfortunately NT does not recognize the NEC SCSI.
  10051.  
  10052. Is there a way to make it work or do I have to find a supported SCSI
  10053. controller ?
  10054.  
  10055. Thanks.
  10056.  
  10057. Richard
  10058.  
  10059. There is 1 Reply.
  10060.  
  10061. #: 16456 S14/Win32s Specific   
  10062.     03-Nov-92  09:00:54
  10063. Sb: #16443-WINDOWS NT AND NEC-CD
  10064. Fm: John Oellrich [AT&T] 72611,1452
  10065. To: RICHARD VEZINA 75140,1243 (X)
  10066.  
  10067. Richard,
  10068.  
  10069. The NEC host adaptor (which is a Trantor unit) is not supported by this NT
  10070. release (Trantor is working on updating their driver). Presuminng your setup
  10071. works under DOS, you can install NT. Boot DOS, log in to the CD drive. CD in
  10072. to the i386 directory and execute WINNT.EXE. Or of course you can buy a
  10073. supported host adaptor.
  10074.  
  10075. John
  10076.  
  10077. There is 1 Reply.
  10078.  
  10079. #: 16472 S14/Win32s Specific   
  10080.     03-Nov-92  10:41:16
  10081. Sb: #16456-WINDOWS NT AND NEC-CD
  10082. Fm: RICHARD VEZINA 75140,1243
  10083. To: John Oellrich [AT&T] 72611,1452 (X)
  10084.  
  10085. Thank you John for the info, i'll give it a try.
  10086.  
  10087. Thanks
  10088.  
  10089. Richard
  10090.  
  10091. #: 16315 S14/Win32s Specific   
  10092.     01-Nov-92  17:25:50
  10093. Sb: #16202-Win32s fails
  10094. Fm: Mark Gibbons 76216,1032
  10095. To: Robert Zeff 70323,1251 (X)
  10096.  
  10097.        There's a workshop on Windows for Workgroups tomorrow that conflicts
  10098. with major (read mandatory) staff meeting at my place of employment. It will
  10099. be going on less than one hundred yards from me! What exactly is Windows for
  10100. Workgroups, and where can I find out more? (And WfW has meant Word for Windows
  10101. to a lot of people up to now).
  10102.                        Thanks,     Mark
  10103.  
  10104.  
  10105.  
  10106. There are 2 Replies.
  10107.  
  10108. #: 16316 S14/Win32s Specific   
  10109.     01-Nov-92  17:38:43
  10110. Sb: #16315-Win32s fails
  10111. Fm: Robert Zeff 70323,1251
  10112. To: Mark Gibbons 76216,1032 (X)
  10113.  
  10114. WFW is a networking version of Win3.1, but with Email, network DDE,
  10115. scheduling, + much more. -Robert
  10116.  
  10117. #: 16563 S14/Win32s Specific   
  10118.     04-Nov-92  02:23:50
  10119. Sb: #16315-Win32s fails
  10120. Fm: Andreas Klein 100063,1637
  10121. To: Mark Gibbons 76216,1032 (X)
  10122.  
  10123. Windows for Workgroups is Windows 3.1 plus peer networking capabilities (you
  10124. don't need a "big" server) featuring directory and printer sharing (and using)
  10125. as well as clipboard sharing and Network DDE. For more information you may
  10126. want to contact your dealer. He should have a overview sheet fot this product.
  10127.  
  10128. >> (And WfW has meant Word for Windows to a lot of people up to now).<<
  10129.  
  10130. No, that's W4W <g>.
  10131.  
  10132. ciao,
  10133.    Andreas
  10134.  
  10135. #: 16564 S14/Win32s Specific   
  10136.     04-Nov-92  02:27:06
  10137. Sb: #16202-Win32s fails
  10138. Fm: Andreas Klein 100063,1637
  10139. To: Robert Zeff 70323,1251 (X)
  10140.  
  10141. No Robert unfortunately there will some problems persist when you try to use
  10142. RC2. If you already checked that Win32s _installed_ ok and the device= line is
  10143. in system.ini you can only try to disable the Server VxD's and try out if
  10144. Win32s then runs ok.
  10145.  
  10146. Otherwise I think you're out of luck for now. Sorry.
  10147.  
  10148. ciao,
  10149.    Andreas
  10150.  
  10151. #: 16407 S14/Win32s Specific   
  10152.     02-Nov-92  16:35:09
  10153. Sb: Win32s - C7 link problem
  10154. Fm: Lee Hart [Microsoft] 76150,2536
  10155. To: Eric V. Smith 70621,3367 (X)
  10156.  
  10157. I am looking into this.  I take it that this happens every time you run the C7
  10158. link?
  10159.  
  10160. Lee
  10161.  
  10162.  
  10163.  
  10164.  
  10165. There is 1 Reply.
  10166.  
  10167. #: 16430 S14/Win32s Specific   
  10168.     02-Nov-92  19:56:05
  10169. Sb: #16407-Win32s - C7 link problem
  10170. Fm: Eric V. Smith 70621,3367
  10171. To: Lee Hart [Microsoft] 76150,2536 (X)
  10172.  
  10173. Lee,
  10174.  
  10175. Yes, this happens every time I run C7's link.
  10176.  
  10177. Eric.
  10178.  
  10179. There is 1 Reply.
  10180.  
  10181. #: 16612 S14/Win32s Specific   
  10182.     04-Nov-92  11:29:45
  10183. Sb: #16430-Win32s - C7 link problem
  10184. Fm: Lee Hart [Microsoft] 76150,2536
  10185. To: Eric V. Smith 70621,3367
  10186.  
  10187. Thanks for the bug report.  The problem has been reproduced here (sorry for
  10188. the delay, but those of us who are supporting Win32 tend to have Win32
  10189. development tools installed and not C7) and our developers are looking into
  10190. the problem.  As I get more information on possible fixes, etc. I will post
  10191. them here.
  10192.  
  10193. Lee
  10194.  
  10195. #: 16405 S14/Win32s Specific   
  10196.     02-Nov-92  16:34:59
  10197. Sb: #16259-Win32s: Exception ?
  10198. Fm: Lee Hart [Microsoft] 76150,2536
  10199. To: Robert Zeff 70323,1251 (X)
  10200.  
  10201. >>>Also, I can get the same message (Different IP, of course) with
  10202.    freecell if I select "select game" twice.
  10203.  
  10204. I am looking into this.  Thanks.
  10205.  
  10206. >>>Another question:  Should a console program work with Win32s?
  10207.  
  10208. Since Windows 3.1 does not have a Console API for Windows Apps, no, Win32s
  10209. does not currently support this.
  10210.  
  10211. Lee
  10212.  
  10213.  
  10214.  
  10215.  
  10216. There is 1 Reply.
  10217.  
  10218. #: 16619 S14/Win32s Specific   
  10219.     04-Nov-92  13:14:36
  10220. Sb: #16405-Win32s: Exception ?
  10221. Fm: Lee Hart [Microsoft] 76150,2536
  10222. To: Lee Hart [Microsoft] 76150,2536 (X)
  10223.  
  10224. To: Everyone who has been having problems with Unhandled Kernel mode
  10225. exceptions in Win32s.
  10226.  
  10227. We have identified the problem and we are currently internally testing a fix
  10228. to this problem.  We hope to be able to make this fix available in the near
  10229. future (the problem is that try/except has problems in Win32s in the October
  10230. Release).  I do not have an exact timetable available at this time.
  10231.  
  10232.  Lee
  10233.  Microsoft Developer Support
  10234.  
  10235. #: 16634 S14/Win32s Specific   
  10236.     04-Nov-92  14:08:47
  10237. Sb: Win32s Doc Errors
  10238. Fm: Lee Hart [Microsoft] 76150,2536
  10239. To: Al Longyear 70165,725
  10240.  
  10241. >>>1. On page 7, it states "* Win32 applications see a flat 32-bit
  10242.    address space (CS == DS == SS == ES)". This is technically
  10243.    impossible for the 80386/80486 processor. The CS register
  10244.    can *NOT* be the same as the DS/SS/ES/FS/GS registers. The CS must
  10245.    be loaded with a segement of type "code" while the "DS/SS, etc"
  10246.    register must be loaded with segments of type "data". (They may
  10247.    have the same limits and base addresses and would threfore have the
  10248.    the same phyical byte location at the same offset. But they can
  10249.    *NOT* be identical.)
  10250.  
  10251. Good point.  I have raised a bug against the documentation to try to make this
  10252. as clear, yet accurate, as possible.
  10253.  
  10254. >>>2. On page 15, it states "* Local variables (stack variables) are
  10255.    faster to pass by reference between the Win32 applciation and the
  10256.    system". Faster than what? Is it faster than a GlobalAlloc'ed
  10257.    variable? Is it faster than a Win16 stack variable?
  10258.  
  10259. My understanding is that because Win32s must convert between the flat address
  10260. space of the Win32 app and the segmented addess space of Windows 3.1, there is
  10261. an overhead associated with this.  I believe the reason local variables are
  10262. faster is that this conversion has already been done for the stack and so less
  10263. overhead is required.  Memory space GlobalAlloc's by a Win32 application under
  10264. Win32s would need to have the tiled selectors set up in order to be passed to
  10265. any 16 bit app (or any 16 bit portion of the Operating System.)  I am gettting
  10266. more information on this.
  10267.  
  10268. Thanks for the feedback (and the interesting questions.)
  10269.  
  10270.  Lee
  10271.  Microsoft Developer Support
  10272.  
  10273. #: 16493 S14/Win32s Specific   
  10274.     03-Nov-92  14:52:03
  10275. Sb: Installation Crash
  10276. Fm: Sandy Bernstein 72477,1132
  10277. To: Dwight Matheny
  10278.  
  10279. I am having trouble installing Windows NT.  During installation, I get the
  10280. following message before my computer crashes:
  10281.  
  10282. Microsoft Windows NT - Beta October 1992 [16064 Kb Available Memory] *** Fatal
  10283. System Error: 0x00000069 *** Phase 1 I/O Initialization Failed Kernel Debugger
  10284. using Com2
  10285.  
  10286. What does this mean?  How do I fix the problem?
  10287.  
  10288. I am also getting a message about a problem with my EISA motherboard. AMI told
  10289. me to download 2 files from their BBS: !AMI16B1.CFG & !AMI28A1.CFG. Where
  10290. should I put them?  Is there anything I need to do to get Windows NT to
  10291. recognize them?
  10292.  
  10293. Thanks for your help.
  10294.  
  10295. There is 1 Reply.
  10296.  
  10297. #: 16644 S14/Win32s Specific   
  10298.     04-Nov-92  15:55:59
  10299. Sb: #16493-Installation Crash
  10300. Fm: Lee Hart [Microsoft] 76150,2536
  10301. To: Sandy Bernstein 72477,1132 (X)
  10302.  
  10303. >>>I am having trouble installing Windows NT.  During installation, I
  10304.    get the following message before my computer crashes:
  10305.  
  10306. Error 0x69 - you have an unsupported disk controller, or your partitions are
  10307. confusing Windows NT.  For more assistance please go to the WINNT forum,
  10308. section 3 (Windows NT Setup).
  10309.  
  10310. The .CFG files are just EISA config files - once you install them using the
  10311. EISA config program that came with your machine you should be OK.  If your
  10312. EISA problem is that EISA memory and ISA memory do not match, then you need to
  10313. run your EISA config program to update your memory settings, and run your BIOS
  10314. setup to update the memory settings there.  Again, please post any followup to
  10315. WINT Section 3.
  10316.  
  10317.  Lee
  10318.  Microsoft Developer Support
  10319.  
  10320. #: 16566 S14/Win32s Specific   
  10321.     04-Nov-92  03:44:11
  10322. Sb: CD ROM Compatibility
  10323. Fm: Douglas Badin 71332,1573
  10324. To: SYSOP (X)
  10325.  
  10326. I am interested in buying TEXEL's CD ROM model DM3024 with a Trantor T130. Is
  10327. this going to be added to the NT Hardware Compatibility List soon?
  10328.  
  10329. There is 1 Reply.
  10330.  
  10331. #: 16645 S14/Win32s Specific   
  10332.     04-Nov-92  15:56:03
  10333. Sb: #16566-CD ROM Compatibility
  10334. Fm: Lee Hart [Microsoft] 76150,2536
  10335. To: Douglas Badin 71332,1573 (X)
  10336.  
  10337. >>>I am interested in buying TEXEL's CD ROM model DM3024 with a
  10338.    Trantor T130. Is this going to be added to the NT Hardware
  10339.    Compatibility List soon?
  10340.  
  10341. Questions about Hardware Support and the HCL belong in the WINNT forum,
  10342. Section 8, H/W Compatibility.  You should also contact the Hardware vendor for
  10343. information.
  10344.  
  10345.  Lee
  10346.  Microsoft Developer Support
  10347.  
  10348. #: 16630 S14/Win32s Specific   
  10349.     04-Nov-92  13:40:41
  10350. Sb: CD-ROM Compatibility
  10351. Fm: Craig Salyers 70643,23
  10352. To: SYSOP (X)
  10353.  
  10354. I have a Sony CDU6205-10 CD-ROM.  Is this going to be added to the Hardware
  10355. Compatibility List in the near (or distant) furture?
  10356.  
  10357. There is 1 Reply.
  10358.  
  10359. #: 16646 S14/Win32s Specific   
  10360.     04-Nov-92  15:56:09
  10361. Sb: #16630-CD-ROM Compatibility
  10362. Fm: Lee Hart [Microsoft] 76150,2536
  10363. To: Craig Salyers 70643,23
  10364.  
  10365. >>>I have a Sony CDU6205-10 CD-ROM.  Is this going to be added to the
  10366.    Hardware Compatibility List in the near (or distant) furture?
  10367.  
  10368. I don't know.  If it's SCSI, maybe - ask in WINNT Section 8 (I deal with
  10369. Win32s here, not hardware - I don't know why I'm getting all of these HCL
  10370. questions - can you tell me why?).  If it's not SCSI, ask Sony.
  10371.  
  10372.  Lee
  10373.  Microsoft Developer Support
  10374.  
  10375. #: 16499 S14/Win32s Specific   
  10376.     03-Nov-92  15:09:46
  10377. Sb: NDIS support in Win32s
  10378. Fm: Joe Erickson 71360,466
  10379. To: All
  10380.  
  10381. Will Win32s support the Ndis calls documented in the Win32 DDK?
  10382.  
  10383. If this is not in the current plan is there any way to get Microsoft to
  10384. reconsider? It's quite important in deciding whether to do a new network stack
  10385. for Win32s or Windows 3.1.
  10386.  
  10387. Thanks Joe Erickson
  10388.  
  10389. There is 1 Reply.
  10390.  
  10391. #: 16658 S14/Win32s Specific   
  10392.     04-Nov-92  16:17:54
  10393. Sb: #16499-NDIS support in Win32s
  10394. Fm: Lee Hart [Microsoft] 76150,2536
  10395. To: Joe Erickson 71360,466 (X)
  10396.  
  10397. >>>Will Win32s support the Ndis calls documented in the Win32 DDK?
  10398.  
  10399. I believe you misunderstand Win32s.  Win32s is to allow user mode (aka ring 3
  10400. code on x86 machines) Win32 programs to run under Windows 3.1.  As a result,
  10401. the APIs, etc. from the Windows NT DDK do not apply.  If you wish to do a
  10402. network stack for a Win32 application running under the Win32s extensions for
  10403. Windows 3.1, you really want to do a Windows 3.1 (normal or Windows for
  10404. Workgroups) network stack, and let the Win32 app call the normal WNet APIs.
  10405.  
  10406. If I misunderstood your question, I apologize and I look forward to more
  10407. information.
  10408.  
  10409.  Lee
  10410.  Microsoft Developer Support
  10411.  
  10412. #: 16788 S14/Win32s Specific   
  10413.     05-Nov-92  19:06:40
  10414. Sb: INSTALL PROBLEMS
  10415. Fm: Steve Woolley 75570,1620
  10416. To: ALL
  10417.  
  10418. HELP AGAIN, THE LAST TIME I WROTE WAS MESSAGE #16128 SINCE THEN, I MADE A NEW
  10419. FLOPPY FROM THE CD AND TRIED TO REINSTALL WIN32S ON TOP OF WINDOWS 3.1 I
  10420. REMOVED STACKER, I HAVE 4M RAM AND PLENTY OF HARD DISK SPACE I GOT FARTHER IN
  10421. THE INSTALLATION BUT NOW I AM RECEIVING  THE FOLLOWING ERROR:
  10422.  
  10423. MICROSOFT TEST DRIVER(DS) ERROR PARSETIME ERROR: DUPLICATE DEFINITION
  10424. SETUPAPI.INC(350)
  10425.  
  10426. WHAT SHOULD I TRY NEXT ? THANKS FOR YOUR HELP STEVE
  10427.  
  10428. #: 16811 S14/Win32s Specific   
  10429.     06-Nov-92  05:34:03
  10430. Sb: WIN32s Fails
  10431. Fm: Eric M. Guli 70272,3627
  10432. To: Lee Hart/ 76150,2536 (X)
  10433.  
  10434. Thanks for your reply.  Yes, the error occurs on install after what seems to
  10435. be the point where setup is copying all the files to the hard disk.  This is
  10436. on the 486DX/2 50 Eisa machine that this error occurs.  No, I do not have a
  10437. kernal debugger for Windows 3.1 installed I am only working from the new
  10438. October release of NT.  Would Nortons Desktop cause any problems with install?
  10439. However, I did strip Windows down to just program manager and still received
  10440. the same error.  I also have a WINJET 800 installed for my printer driver
  10441. running through a HPIII, but I also replaced that with the straight HPIII
  10442. driver and the error still happens.  What can I do to get WIN32s running?  I
  10443. don't want to at this point run NT as my operating system because this is a
  10444. work machine that I cannot totally experiment with.  I guess the question is
  10445. do I need NT to run WIN32s? Thanks, Eric Guli
  10446.  
  10447. #: 16785 S14/Win32s Specific   
  10448.     05-Nov-92  18:11:49
  10449. Sb: Win32s release
  10450. Fm: John Lutz 73730,3577
  10451. To: MS
  10452.  
  10453. Will the Win32s DLLs be released separately before NT or do we have to wait
  10454. for the NT release to ship Win32s apps.
  10455.  
  10456. John
  10457.  
  10458. There is 1 Reply.
  10459.  
  10460. #: 16854 S14/Win32s Specific   
  10461.     06-Nov-92  16:06:20
  10462. Sb: #16785-Win32s release
  10463. Fm: Lee Hart [Microsoft] 76150,2536
  10464. To: John Lutz 73730,3577 (X)
  10465.  
  10466. >>>Will the Win32s DLLs be released separately before NT or do we
  10467.    have to wait for the NT release to ship Win32s apps.
  10468.  
  10469. I believe you can, but let me double check.
  10470.  
  10471. One fact you must keep in mind is that it is quite likely that there will be
  10472. some change in the Win32 system DLLs anytime before we ship that would require
  10473. that you re-build your app in order to work.  For example, we have been moving
  10474. system APIs around in the DLLs to improve performance.  This means that your
  10475. older apps that try to dynalink with them in the wrong place will not load. 
  10476. As a result, as soon as a newer version of Win32s is released, and the Win32s
  10477. install program updates your customer's installation (because of the
  10478. versioning info in the resources), your Win32 app will no longer load and you
  10479. will need to update your customers with a newer version of your app. 
  10480. (Persoanlly I think that's a reasonable price to pay, as long as you are aware
  10481. of it.)
  10482.  
  10483.  Lee
  10484.  Microsoft Developer Support
  10485.  
  10486. #: 16786 S14/Win32s Specific   
  10487.     05-Nov-92  18:12:50
  10488. Sb: DLLs
  10489. Fm: John Lutz 73730,3577
  10490. To: MS
  10491.  
  10492. Can you create DLLs containing 32-bit code and use them under Windows 3.1 via
  10493. Win32s?
  10494.  
  10495. John
  10496.  
  10497. There is 1 Reply.
  10498.  
  10499. #: 16855 S14/Win32s Specific   
  10500.     06-Nov-92  16:06:25
  10501. Sb: #16786-DLLs
  10502. Fm: Lee Hart [Microsoft] 76150,2536
  10503. To: John Lutz 73730,3577 (X)
  10504.  
  10505. >>>Can you create DLLs containing 32-bit code and use them under
  10506.    Windows 3.1 via Win32s?
  10507.  
  10508. Yes, if the calling app is a Win32 app.  Yes, if the DLL is a standard Windows
  10509. 3.1 DLL (32 bit code in 16 bit segments).  You can't attach a Win32 DLL to a
  10510. Win16 app (discounting using a stub Win32 app and some form of IPC to talk to
  10511. the Win16 app.)  So I think the answer to your question is generally no.  (If
  10512. I misunderstood your question please be more detailed.)
  10513.  
  10514.  Lee
  10515.  Microsoft Developer Support
  10516.  
  10517.  
  10518.  
  10519. There is 1 Reply.
  10520.  
  10521. #: 16872 S14/Win32s Specific   
  10522.     06-Nov-92  18:14:59
  10523. Sb: #16855-DLLs
  10524. Fm: John Lutz 73730,3577
  10525. To: Lee Hart [Microsoft] 76150,2536 (X)
  10526.  
  10527. Lee,
  10528.  
  10529. What we would like to do is develop our application completely on NT then use
  10530. Win32S to run on Windows 3.1.   The reason I asked about DLLs is because we
  10531. would like to make our application extensible.  For example, we would like to
  10532. be able to put data readers for different file formats in different DLLs. 
  10533. Each DLL would contain the same set of routines, but would work on different
  10534. file formats.  The application needs to be able to sense which DLLs are
  10535. installed at runtime and load them dynamically.  Our goal is to be able to
  10536. extend the application with new DLLs (readers) after it has been shipped.
  10537.  
  10538. Given that our application will be completely 32-bit and that we need to run
  10539. on both Windows 3.1 and NT... 1) is this possible and 2) are there any
  10540. limitations that I need to be aware of?
  10541.  
  10542. Thanks,
  10543.  
  10544. John  
  10545.  
  10546.  
  10547.  
  10548.  
  10549. #: 16274 S15/Unicode/NLS   
  10550.     31-Oct-92  09:17:30
  10551. Sb: Complete unicode font?
  10552. Fm: GMS 100063,2012
  10553. To: Sheldon Fox 70162,3422 (X)
  10554.  
  10555. One more STRONG vote for full language support (minimum
  10556. English/German/Frensh/Spanish/Japanese/Chinese/Thai) in one NT version.
  10557.  
  10558. G. M. Sontheimer
  10559.        
  10560.  
  10561. There is 1 Reply.
  10562.  
  10563.  
  10564. #: 16285 S15/Unicode/NLS   
  10565.     31-Oct-92  18:04:03
  10566. Sb: #16274-Complete unicode font?
  10567. Fm: Paul Watson [XLsoft] 76056,1751
  10568. To: GMS 100063,2012 (X)
  10569.  
  10570. The difficulty of doing this depends on what you mean by "full" support.
  10571.  
  10572. Franky, I don't expect the base system to have elegant input methods for every
  10573. language.  However, I do expect to be able to buy and add input methods for
  10574. any language from Microsoft and third party vendors.  Yes, the base system
  10575. should have -some- way of entering any script, even if we have to resort to
  10576. entering hex values.
  10577.  
  10578. Yes, the base system should include one font that can be render all characters
  10579. of the defined scripts.
  10580.  
  10581. Regards...Paul
  10582.  
  10583.  
  10584.  
  10585. There is 1 Reply.
  10586.  
  10587. #: 16754 S15/Unicode/NLS   
  10588.     05-Nov-92  14:43:44
  10589. Sb: #16285-Complete unicode font?
  10590. Fm: GMS 100063,2012
  10591. To: Paul Watson [XLsoft] 76056,1751
  10592.  
  10593. My "dream support" is: One OS with a Unicode Font for all languages I mentioned
  10594. included. I would like to use the same source code for all language versions
  10595. and put all text strings in string resources. If key combinations are needed
  10596. for entering them this would be bearable, but preferrably I would youst like
  10597. to plug in my German (or Japanese) keyboard, change the keyboard driver, and
  10598. add the text strings needed. The application would detect the country
  10599. settings of Win NT and choose the string resources for the appropriate
  10600. language...
  10601.        
  10602.  
  10603. #: 16751 S15/Unicode/NLS   
  10604.     05-Nov-92  14:27:22
  10605. Sb: Why no WinMainW?
  10606. Fm: David Van Camp 70740,366
  10607. To: Microsoft
  10608.  
  10609. Why is there no unicode and transparent versions of WinMain?  How utterly
  10610. annoying!
  10611.  
  10612. dvc 
  10613.  
  10614. There is 1 Reply.
  10615.  
  10616. #: 16826 S15/Unicode/NLS   
  10617.     06-Nov-92  11:08:50
  10618. Sb: #16751-Why no WinMainW?
  10619. Fm: Steve Firebaugh [MS] 75430,412
  10620. To: David Van Camp 70740,366
  10621.  
  10622. David Van Camp,
  10623.  
  10624.  >Why is there no unicode and transparent versions of WinMain?
  10625.  
  10626. Certain run time objects (e.g. window classes) are marked as unicode or ansi. 
  10627. When the system passes them parameters, it checks what type of string they
  10628. expect, and then converts the strings appropriately.
  10629.  
  10630. An executable which has just been loaded has no way of specifying whether it
  10631. expects unicode or ansi strings.  For this reason, the system always passes
  10632. ansi parameters to WinMain().  This may change at some point in the distant
  10633. future, but it will not change before Windows/NT release 1.0.  The suggested
  10634. work around is to call GetCommandLine() if you want the command line
  10635. parameters in unicode form.
  10636.  
  10637. Steve Firebaugh
  10638.  
  10639. #: 16750 S15/Unicode/NLS   
  10640.     05-Nov-92  14:27:20
  10641. Sb: PROC_XXX macros & Unicod
  10642. Fm: David Van Camp 70740,366
  10643. To: Microsoft
  10644.  
  10645. The PROC_EXTDEVICEMODE, etc., macros in drivinit.h are define as
  10646. MAKEINTRESOURCE(xx) which is incorrect for unicode because GetProcAddress has
  10647. no unicode version and MAKEINTRESOURCE uses a (LPTSTR) cast.
  10648.  
  10649. The best solution (in my opinion) would be to make a unicode version of
  10650. GetProcAddress, but, barring that, an alternate ASCII-compatible
  10651. MAKEINTRESOURCEA() macro is needed:
  10652.  
  10653. #: 16827 S15/Unicode/NLS   
  10654.     06-Nov-92  11:08:57
  10655. Sb: #16750-PROC_XXX macros & Unicod
  10656. Fm: Steve Firebaugh [MS] 75430,412
  10657. To: David Van Camp 70740,366
  10658.  
  10659. David Van Camp,
  10660.  
  10661. You are correct, there is an error in the header files with the definition of
  10662. MAKEINTRESOURCE.  It ought to be transparent such that it is mapped to either
  10663. an ansi or a unicode cast.  I have reported this bug, and we will try to get
  10664. it fixed by the next release.  Thank you for pointing it out.
  10665.  
  10666. Steve Firebaugh
  10667.  
  10668. #: 16696 S15/Unicode/NLS   
  10669.     04-Nov-92  22:42:36
  10670. Sb: Unicode notepad font
  10671. Fm: James D. Howard 71172,2010
  10672. To: SECTION 15
  10673.  
  10674. The default font used by the Unicode notepad appears to have some problems.
  10675. The glyphs for "i", "I", and "l" (lower-case L) are indistinguishable. The
  10676. problem with "i" and "I" is, I'd guess, a bug, but the problem with "I" and
  10677. "l" is a font design issue. Could the default font be selected or modified,
  10678. please to assure that the glyphs are always distinguishable. (For example
  10679. IBM's RS/6000 spoils a very nice on-line help facility by likewise selecting a
  10680. Helvetica-like font that makes certain command line options undecipherable.)
  10681.  
  10682. There is 1 Reply.
  10683.  
  10684. #: 16828 S15/Unicode/NLS   
  10685.     06-Nov-92  11:09:12
  10686. Sb: #16696-Unicode notepad font
  10687. Fm: Steve Firebaugh [MS] 75430,412
  10688. To: James D. Howard 71172,2010
  10689.  
  10690. James Howard,
  10691.  
  10692. There is a font on the compact disk named uclucida.ttf.  If you install this
  10693. font, I believe that you will see the problem you have reported go away.  The
  10694. 'unipad' accessory expects to use this font.  When the font is not installed,
  10695. it still creates a logical font with the face name "Lucida Sans Unicode."  The
  10696. font mapper ends up creating an Arial Bold font with a size and weight set
  10697. just right to screw up the i, I, and l.  (I find that on my VRAM 7 display,
  10698. the logfont equivalent to the font shown in unipad is: {16, 7, 0,0, 600,
  10699. 0,0,0, UNICODE_CHARSET, 0,0, 2,2, "Arial"}. Almost any other size/weight for
  10700. the Arial font produces glyphs for i & I at least which are distinguishable.
  10701.  
  10702. You are correct that from the user's perspective, this is a bug.  I have
  10703. reported it, but I can not say for certain how it will be fixed.  In any case,
  10704. thank you for bringing it to our attention.
  10705.  
  10706. Steve Firebaugh
  10707.  
  10708. #: 16599 S15/Unicode/NLS   
  10709.     04-Nov-92  10:39:32
  10710. Sb: Unicode printf
  10711. Fm: Carl W. Brown 71250,1322
  10712. To: David Manns 100112,2773
  10713.  
  10714. David,
  10715.  
  10716. Yes there is a Unicode equivalent of "printf" it is "wsprintf".  However
  10717. "wsprintf" is a generic function the handles both ANSI and Unicode.  The
  10718. Unicode only version is "wsprintfw"
  10719.  
  10720. Carl
  10721.  
  10722.  
  10723.  
  10724.  
  10725. There is 1 Reply.
  10726.  
  10727. #: 16752 S15/Unicode/NLS   
  10728.     05-Nov-92  14:27:29
  10729. Sb: #16599-Unicode printf
  10730. Fm: David Van Camp 70740,366
  10731. To: Carl W. Brown 71250,1322 (X)
  10732.  
  10733. <<Yes there is a Unicode equivalent of "printf" it is "wsprintf".  However
  10734. "wsprintf" is a generic function the handles both ANSI and Unicode.  The
  10735. Unicode only version is "wsprintfw">>
  10736.  
  10737. Carl,
  10738.  
  10739. Where did you get this info?  There is no 'wsprintfw'.  wsprintf takes unicode
  10740. strings for both the output buffer and the fmt string.  For *ANY* of the NT
  10741. printf functions - unicode or otherwise - the fmt string expects the following
  10742. parameters:
  10743.  
  10744.         %s  expects an ANSI string,
  10745.         %ws expects a Unicode (wide) string
  10746.         %ts expects an ANSI string in sprintf, Unicode in wsprintf
  10747.         %c  expects a ANSI char
  10748.         %wc expects a Unicode (wide) char
  10749.         %tc expects an ANSI char in sprintf, Unicode in wsprintf
  10750.  
  10751. tsprintf is the 'transparent' version of sprintf.  See TCHAR.H for all
  10752. available 'transparent' mapping macros.  Since tsprintf will map to sprintf or
  10753. wsprint depending on the UNICODE flag, when this option is available, you can
  10754. use transparently defined strings (TCHAR or LPTSTR) with it.
  10755.  
  10756. Also, the Unicode equivelent of "printf" is "wprintf" not "swprintf".
  10757. -------
  10758. DOC BUG NOTE:
  10759.  
  10760.         Under the WINAPI32.HLP String Functions section it says for %ts and
  10761. %tc "... if wsprintf was compilied with the #define UNICODE compile flag..." 
  10762. Since MICROSOFT - not us - compiles this function, this info is useless.  I
  10763. just reported this to David McBride.
  10764. -------
  10765. BUG NOTE: there is a bug in wsprintf, et. al, where if %s is specified, the
  10766. resulting Unicode output string will have ASCII chars inbedded within it.
  10767.  
  10768. E.g.: wprintf ( wcs, L"abc%s", "def" );
  10769. will return with wcs containing (in bytes):
  10770.  
  10771.         0,'a',0,'b',0,'c','d','e',0,0
  10772.  
  10773. This has already been reported to MS's C-Lib development team.
  10774. The work arround for now is to use only wide char strings as fmt parameters. 
  10775. Use mbstowcs() to convert an ANSI string before passing it to wsprintf. 
  10776.  
  10777. There are 2 Replies.
  10778.  
  10779. #: 16792 S15/Unicode/NLS   
  10780.     05-Nov-92  19:32:20
  10781. Sb: #16752-Unicode printf
  10782. Fm: Carl W. Brown 71250,1322
  10783. To: David Van Camp 70740,366 (X)
  10784.  
  10785. David,
  10786.  
  10787. I got the info from the July notes.  Obviously things have changed since then.
  10788. All the generic calls were supposed to test the user define of UNICODE with an
  10789.  
  10790. #: 16830 S15/Unicode/NLS   
  10791.     06-Nov-92  11:09:30
  10792. Sb: #16792-Unicode printf
  10793. Fm: Steve Firebaugh [MS] 75430,412
  10794. To: Carl W. Brown 71250,1322
  10795.  
  10796. Carl,
  10797.  
  10798. The information you got from the July release notes was correct, even though
  10799. the implementation of wsprintf() in that release was not handling unicode
  10800. correctly.  It is working correctly in the October release.
  10801.  
  10802.  >The other important API is the RegisterWindowClassW/RegisterWindowClassA
  10803. which
  10804.  >does not seem to be in the Win32 API.
  10805.  
  10806. There is a RegisterClassW and a RegisterClassA in the Win32 API.  They are
  10807. both working correctly.
  10808.  
  10809. Steve Firebaugh
  10810.  
  10811. #: 16829 S15/Unicode/NLS   
  10812.     06-Nov-92  11:09:21
  10813. Sb: #16752-Unicode printf
  10814. Fm: Steve Firebaugh [MS] 75430,412
  10815. To: David Van Camp 70740,366
  10816.  
  10817. David Van Camp,
  10818.  
  10819.  >There is no 'wsprintfw'.
  10820.  
  10821. There is in fact a wsprintfW() as part of the Win32 API.  In the October beta
  10822. it is working correctly.
  10823.  
  10824. Steve Firebaugh
  10825.  
  10826. #: 16671 S15/Unicode/NLS   
  10827.     04-Nov-92  18:39:22
  10828. Sb: Unicode Addendum 1.0.1
  10829. Fm: Steve Firebaugh [MS] 75430,412
  10830. To: All
  10831.  
  10832. I just uploaded a zipped copy of a text file which contains the "Unicode
  10833. Addendum 1.0.1."  (library 15, addend.zip)  I have included excerpts of the
  10834. file below to give people an idea of its contents.
  10835.  
  10836. Steve Firebaugh
  10837.  
  10838. ====================================================================== Unicode
  10839. 1.0.1 Addendum                             92.11.03   8:52
  10840.  
  10841.  
  10842.                          UNICODE 1.0.1
  10843.  
  10844. The following document is an ASCII version of the Unicode 1.0.1 addendum,
  10845. which has been added to Volumes 1 and 2 of The Unicode Standard. Because the
  10846. formatting has been lost and the original text contains nonASCII characters, a
  10847. dollar sign is used as a placeholder instead, and the text has been modified
  10848. slightly for readability.
  10849.  
  10850. .. 1. Introduction
  10851.  
  10852. As discussed in Volumes 1 and 2, small changes have been made to Unicode 1.0
  10853. in order to incorporate it into the international character encoding standard,
  10854. ISO 10646, which was approved by ISO as an International Standard in June,
  10855. 1992. The Unicode Consortium plans to issue Unicode 1.1 in early 1993. The
  10856. character content and encoding will be identical to that of ISO 10646. To that
  10857. end, Unicode 1.1 will include approximately 5,400 additional characters from
  10858. ISO 10646 that are not already in Unicode 1.0.
  10859.  
  10860. In order to expedite use of Unicode in the interim, the Unicode Consortium is
  10861. issuing an intermediate version, Unicode 1.0.1, which consists of Unicode 1.0
  10862. modified by the changes necessary to make the character codes a proper subset
  10863. of ISO 10646.
  10864.  
  10865. This paper describes the differences between Unicode 1.0.1 and Unicode 1.0
  10866. (for more information, see Volume 1, pp. xix-xx and Volume 2, pp. 4-9 and
  10867. 427-431). Implementations that use Unicode 1.0.1 as thus defined will be
  10868. completely compatible with Unicode 1.1, and therefore fully compatible with
  10869. ISO 10646.
  10870.  
  10871.  
  10872.  
  10873.  
  10874. There is 1 Reply.
  10875.  
  10876. #: 16722 S15/Unicode/NLS   
  10877.     05-Nov-92  10:13:15
  10878. Sb: #16671-Unicode Addendum 1.0.1
  10879. Fm: Steven Olson 70313,2246
  10880. To: Steve Firebaugh [MS] 75430,412 (X)
  10881.  
  10882.  Steve:
  10883.  Just a short note to say "Thanks" for uniput.zip.  I realize this is not a
  10884.  final project but it does work.  Any idea on when uclucida.ttf will be
  10885.  complete (or at least expanded)?
  10886.  Thanks Again!
  10887.  Steve Olson
  10888.  CRA
  10889.  
  10890. There is 1 Reply.
  10891.  
  10892. #: 16866 S15/Unicode/NLS   
  10893.     06-Nov-92  16:58:49
  10894. Sb: #16722-Unicode Addendum 1.0.1
  10895. Fm: Steve Firebaugh [MS] 75430,412
  10896. To: Steven Olson 70313,2246
  10897.  
  10898. Steve,
  10899.  
  10900. Thank you for the feedback.  I have been trying to nail down a firm schedule
  10901. for uclucida.ttf, and no one will commit to one.  The current (soft) goal is
  10902. to have 1400 glyphs covered by the first release.  As I understand it, this
  10903. particular font will never be expanded to cover all of the unicode glyphs.
  10904. Someone pointed out to me that the final NT o.s. will be distributed on floppy
  10905. disks.  A font large enough to cover all unicode glyphs will certainly not fit
  10906. on one floppy disk.  For this reason, people are reconsidering the font model,
  10907. such that multiple font files, which cover disjoint unicode code point ranges,
  10908. may be combined into a single logical run time font.
  10909.  
  10910. Steve Firebaugh
  10911.  
  10912.  
  10913.  
  10914.  
  10915. #: 16282 S16/Tools-3rd Party   
  10916.     31-Oct-92  15:38:54
  10917. Sb: SlickEdit won't install
  10918. Fm: Len Gray 71630,1703
  10919. To: All
  10920.  
  10921. I ordered SlickEdit yesterday from MicroEdge - requested Saturday delivery so
  10922. I could get familiar over the weekend.  It arrived bright and early this
  10923. morning!
  10924.  
  10925. When I go to the B: prompt and type NTINST, the disk hums and it looks like
  10926. something is happening, but soon the B: prompt returns.  :-(
  10927.  
  10928. Has anyone been here before?  I sure would appreciate any help in getting me
  10929. up and running before Monday!
  10930.  
  10931. Thanks in advance!
  10932.  
  10933.      Len
  10934.  
  10935.  
  10936.  
  10937. There are 2 Replies.
  10938.  
  10939.  
  10940. #: 16286 S16/Tools-3rd Party   
  10941.     31-Oct-92  19:15:29
  10942. Sb: #16282-SlickEdit won't install
  10943. Fm: Peter Handsman[Inmark] 70550,2570
  10944. To: Len Gray 71630,1703 (X)
  10945.  
  10946. Len,
  10947.  
  10948. I got the october update of Slick on friday, it works and installs fine for
  10949. me.  ntinst.cmd is a batch file, maybe you should try to run the command
  10950. inside by hand.
  10951.  
  10952. Peter
  10953.  
  10954. #: 16313 S16/Tools-3rd Party   
  10955.     01-Nov-92  17:10:31
  10956. Sb: #16282-SlickEdit won't install
  10957. Fm: Robert Reichel [MS] 72360,3504
  10958. To: Len Gray 71630,1703 (X)
  10959.  
  10960. Call MicroEdge tech support.  I've frequently gotten ahold of them on
  10961. weekends and late at night.
  10962.  
  10963. The guy you will talk to is the author of SlickEdit, so he will definitely be
  10964. able to help you sort things out.
  10965.        
  10966.  
  10967. #: 16561 S16/Tools-3rd Party   
  10968.     04-Nov-92  00:05:44
  10969. Sb: MEWN11.ZIP
  10970. Fm: Pierre Perret 73757,2337
  10971. To: Sysop (X)
  10972.  
  10973. I am uploading MEWN11.ZIP to LIB 1.
  10974.  
  10975. This file replaces the older MEWN11.ZIP that was available since mid-October.
  10976. The old file contained update 1.1 of MicroEMACS for Windows, which had been
  10977. compiled for the July PDK.
  10978.  
  10979. The new file contains update 1.1a, which is compiled for the Windows NT
  10980. October BETA. (in addition, update 1.1a contains a minor bug fix and makefile
  10981. changes to support DEC Alpha machines (only i386 and MIPS were supported by
  10982. update 1.1)
  10983.  
  10984. - Pierre Perret -
  10985.  
  10986. #: 16769 S16/Tools-3rd Party   
  10987.     05-Nov-92  16:39:52
  10988. Sb: 3rd party NFS on NT?
  10989. Fm: Alex Bronstein 75070,2452
  10990. To: all
  10991.  
  10992.  
  10993. Has anybody found a usable NFS client that can be run on NT?
  10994.  
  10995. We're changing the source storage strategy in our shop in a way which would
  10996. require daily access to an NFS server with some shell scripts.  Right now I
  10997. have client NFS on DOS (via Sun's PC-NFS) but no great way to do the scripts.
  10998. Or I can have Hamilton C-shell on NT + associated tools, but no NFS client...
  10999.  
  11000. I guess pointers to good shell (Bourne or C) on DOS would also be appreciated.
  11001.  
  11002. Thanks,
  11003.  
  11004.                                Alex (aka alex@gain.com)
  11005.  
  11006. #: 16841 S16/Tools-3rd Party   
  11007.     06-Nov-92  13:46:02
  11008. Sb: MicroEmacs
  11009. Fm: Judy Polonsky 70544,2411
  11010. To: Pierre Perret
  11011.  
  11012. I had been using MicroEmacs successfully with the July SDK. I have
  11013. now installed the October SDK and DDK and reloaded the system with
  11014. Microemacs (memacs.zip , 196507 bytes, 8-22-92 - containing 7 files).
  11015. When I click on the Microemacs icon, I get a message saying
  11016. "The Dynamic Link Library USERRTL.dll could not be found in the
  11017. specified path.
  11018. C:\emac;c:;c:\winnt\system;c:winnt;c:\winnt\system"
  11019.  
  11020. The file userrtl.dll is nowhere on the disk. Any suggestions on
  11021. what might be wrong? I hate using MEP!
  11022. Judy Polonsky, BusLogic
  11023.  
  11024.  
  11025.  
  11026.  
  11027. #: 16360 S17/Unmonitored Chat   
  11028.     02-Nov-92  12:35:53
  11029. Sb: CDROM (UK)
  11030. Fm: Christian Beaumont 100034,2326
  11031. To: All
  11032.  
  11033. Has anyone in the UK received the October release of the CDROM yet? Or should
  11034. I start pestering people?
  11035.  
  11036. Christian
  11037.  
  11038. There is 1 Reply.
  11039.  
  11040.  
  11041. #: 16364 S17/Unmonitored Chat   
  11042.     02-Nov-92  13:45:50
  11043. Sb: #16360-CDROM (UK)
  11044. Fm: Michael Webb 100014,1424
  11045. To: Christian Beaumont 100034,2326 (X)
  11046.  
  11047. I called Microsoft UK - they said that they expect arrival of shipment in UK
  11048. this week and will ship to UK users within 24 hours!
  11049.  
  11050. Mike Webb
  11051.  
  11052.  
  11053. There is 1 Reply.
  11054.  
  11055. #: 16442 S17/Unmonitored Chat   
  11056.     03-Nov-92  03:34:06
  11057. Sb: #16364-CDROM (UK)
  11058. Fm: Christian Beaumont 100034,2326
  11059. To: Michael Webb 100014,1424
  11060.  
  11061. Great, I'll look forward to receiving that but I'll probably be at the DDK
  11062. Conference so I won't get it until next week (boo)
  11063.  
  11064. Christian
  11065.  
  11066. #: 16533 S17/Unmonitored Chat   
  11067.     03-Nov-92  18:56:02
  11068. Sb: CDROM->SCSI-2?
  11069. Fm: Bruce Ramsey/Microsoft 70324,2742
  11070. To: Ben Laurie 100014,1235 (X)
  11071.  
  11072. Hi Ben -
  11073.  
  11074. >Ben> Wow!  Bugfix notifications!  Will wonders never cease?  So
  11075.   long as the release notes mention it, or someone reminds me,
  11076.   I'll happily test it.  Its only 1 jumper, after all
  11077.  
  11078. >Bruce> Thanks again for the offer to test - I'll try to remind
  11079.   you :-)  We're testing here too, yet are interested in whether
  11080.   you find it's fixed in your environment...
  11081.  
  11082. I don't know if you have your copy of the October build yet, but
  11083.   in any case the October build would be the build to try this on
  11084.   again to see if the spin-up problem is fixed in your environment
  11085.  
  11086. I don't think the release notes comment on this, so this is your
  11087.   reminder :)
  11088.  
  11089. Bruce
  11090.  
  11091. #: 16339 S17/Unmonitored Chat   
  11092.     02-Nov-92  10:25:57
  11093. Sb: Bad Int. Support
  11094. Fm: Sigurdur St. Hjalmarsson 100063,1446
  11095. To: Ulrich Paul 100022,3315
  11096.  
  11097. My sentiments exactly - they have what is commonly known as an ethno-centric
  11098. view of the world: there is the USA, and then there is the rest of the world!
  11099.  
  11100. There is 1 Reply.
  11101.  
  11102. #: 16565 S17/Unmonitored Chat   
  11103.     04-Nov-92  02:28:36
  11104. Sb: #16339-Bad Int. Support
  11105. Fm: Peter A Winskill 70323,2547
  11106. To: Sigurdur St. Hjalmarsson 100063,1446
  11107.  
  11108. The rest of the world...? Oh, I guess you mean Virginia!
  11109.  
  11110. #: 16291 S17/Unmonitored Chat   
  11111.     01-Nov-92  06:16:33
  11112. Sb: CDROM delays
  11113. Fm: Mike Walsh (Helsinki) 72557,3170
  11114. To: ALL
  11115.  
  11116. Here is a list of promised developer CDROMs with dates promised and dates
  11117. received. It is intended to show the time delays faced by some developers.
  11118.  1. July CDROM: promised San Francisco conf. July 1992
  11119.                 received San Francisco conf. July 1992
  11120.  
  11121.  2. July CDROM (Finland): promised Helsinki conf. 14th Sept 1992
  11122.                           received October 7th 1992
  11123.  
  11124.  3. Dev. Network CDROM beta 1 (ex-US to San F. participants)
  11125.     promised September 1992
  11126.     not arrived Nov 1 1992
  11127.     (also the letter asking for address changes has not yet arrived)
  11128.  
  11129.  4. Dev. Network CDROM beta 1 Scandinavia
  11130.     questions on this emailed to MS Dev Net rep 10th October - no answer
  11131. received by 1 Nov 1992. (email to Scan. rep not US)
  11132.  
  11133.  5. European Dev. CDROM (as issued at Brussels NT conf. in August (?))
  11134.     promised by MS Finland on receipt of a completed questionaire
  11135.     questionaire sent 9 Oct. 1992; no CDROM received by 1 Nov 1992.
  11136.  
  11137.  To be fair here is the present state of the latest OS/2 Developer's CDROM
  11138.  
  11139.  a. European DAP: CDROM "sent to members" 20 Oct. 1992; no CDROM received by 1
  11140. Nov 1992.
  11141.  b. Worldwide OS/2 DAP (via Compuserve): initial application made on 18th
  11142. October (first day); later found out that all applications made then were
  11143. being ignored and had to re-apply; re-applied 25th October; no confirmation of
  11144. acceptance made by 1 Nov 1992.
  11145.  Mike (who hopes this is of interest to someone out there)
  11146.  
  11147. There is 1 Reply.
  11148.  
  11149. #: 16616 S17/Unmonitored Chat   
  11150.     04-Nov-92  12:23:01
  11151. Sb: #16291-CDROM delays
  11152. Fm: George Meng 76711,421
  11153. To: Mike Walsh (Helsinki) 72557,3170 (X)
  11154.  
  11155. Mike,
  11156.  
  11157. Thanks for the data.  I want you to know that we hear your comments, and we're
  11158. definitely trying to improve the process of delivering materials to customers
  11159. both in the U.S. and, especially, to customers in other countries.
  11160.  
  11161. George Meng
  11162. MS Developer Network
  11163.  
  11164. #: 16329 S17/Unmonitored Chat   
  11165.     02-Nov-92  09:17:18
  11166. Sb: ISV Dev'pment Lab
  11167. Fm: Lee Hart [Microsoft] 76150,2536
  11168. To: Dag Baardsen [PS Norway] 100010,2257 (X)
  11169.  
  11170. I can give you some tips from the other side - I recently finished working in
  11171. the ISV Porting Lab here and here are some common mistakes that reduce the
  11172. effectiveness of the lab:
  11173.  
  11174. (1) ISVs assume that all equipment will be provided.  We do plan on having one
  11175. machine per office, but even this is not always possible.  If you can bring
  11176. your own equipment you will be better off.
  11177.  
  11178. (2) ISVs have not done a lot of work prior to visiting the lab. Give the fact
  11179. that muchof Win16->Win32 porting is mechanical, you are not getting the
  11180. maximum benefit of the lab if you arrive with lots of mechanical porting to be
  11181. done.  If you can at least compile fairly cleanly when you arrive it will give
  11182. you a better opportunity to port your application to Win32 and then on to the
  11183. more strict MIPS compiler.  If you are interested in porting to MIPS, it is to
  11184. your benefit to become familiar with some of the more common problems
  11185. experienced when portont to MIPS (for example use of either old-style or
  11186. ANSIfunction declarations, and corresponding comment format (/*
  11187. .. */ or //)
  11188.  
  11189. Lee
  11190.  
  11191. P.S. It doesn't hurt to sharpen your Darts skills either ;-)
  11192.  
  11193. #: 16344 S17/Unmonitored Chat   
  11194.     02-Nov-92  10:53:31
  11195. Sb: ISV Dev'pment Lab
  11196. Fm: John Hall [MS SDE] 70750,2341
  11197. To: Dag Baardsen [PS Norway] 100010,2257 (X)
  11198.  
  11199. To Lee's comments, I would add:
  11200.  
  11201. Since you are an OS/2 -> Windows translation, it will help a great deal if you
  11202. have run the basic OS/2 -> Windows translation tools on all of your source
  11203. (sed script on .C and .H files, ms_ssed on .C files)
  11204.  
  11205. Next thing:
  11206.  
  11207. create .def files for all of your dll's and exe's modeled after the
  11208. appropriate template.
  11209.  
  11210. Making 'stub functions' for dll's can be useful.  For each dll, create
  11211. a notimp.c which has each function in the dll, with a MessageBox()
  11212. that puts a "This funtion not implemented" on the screen.  This makes it easy
  11213. to iteratively add functionality.  Things go much quicker if you can just get
  11214. the main window up, then start adding things.  This
  11215. approach helps that.
  11216.  
  11217. If you use shared memory, study and understand the shrmem example you have
  11218. been given.
  11219.  
  11220. Finally, if you aren't sure about any of this contact your MS rep
  11221. Magnus.
  11222.  
  11223. Thanks,
  11224. John Hall,
  11225. The OS/2 -> Windows guy and your host while in the Porting Lab.
  11226.  
  11227. I'd be happy to take questions before you get here in the OS/2 -> Windows
  11228. forum.
  11229.  
  11230.  
  11231.  
  11232. There are 2 Replies.
  11233.  
  11234. #: 16479 S17/Unmonitored Chat   
  11235.     03-Nov-92  11:38:29
  11236. Sb: #16344-ISV Dev'pment Lab
  11237. Fm: Alex Bronstein 75070,2452
  11238. To: John Hall [MS SDE] 70750,2341 (X)
  11239.  
  11240.  
  11241. Have you had any ISV in your lab porting X/Unix apps?  Can you comment
  11242. (without company names of course) on the experience?
  11243.  
  11244. Thanks,
  11245.                                Alex
  11246.  
  11247.  
  11248.  
  11249.  
  11250. There is 1 Reply.
  11251.  
  11252. #: 16690 S17/Unmonitored Chat   
  11253.     04-Nov-92  21:46:03
  11254. Sb: #16479-ISV Dev'pment Lab
  11255. Fm: John Hall [MS SDE] 70750,2341
  11256. To: Alex Bronstein 75070,2452 (X)
  11257.  
  11258. >> Have you had any ISV in your lab porting X/Unix apps?  Can you
  11259. >> comment (without company names of course) on the experience?
  11260.  
  11261. Yes, we have, though many of them have been non-graphical server type
  11262. applications.  In fact, it is still an open question whether an ISV with both
  11263. a Unix and an OS/2 1.x product should start from the Unix base or the Os/2
  11264. base.  For non-graphical types, I lean toward the Unix base at the moment.
  11265.  
  11266. Many other Unix ports are happening that have not come through the lab. It is
  11267. really exciting -- the same people who told us to 'go have congress with
  11268. ourselves' a few years ago when we wanted them to port to that *other* system
  11269. are now quite busy on Windows NT.  However, due to the politics of the Unix
  11270. market many of these people have been adamant about *not* releaseing their
  11271. names -- a deviation from most other ISV's.
  11272.  
  11273. The major questions I have for Unix ports on a base level is:
  11274. Do you always follow a fork with an exec or exit (vfork)? Yes is good.
  11275. Where/why do you use Signals?  Just keeping track of children dying
  11276. is OK.
  11277. Other problems crop up but they don't bother me at night.
  11278.  
  11279. This discussion should move to the 'Porting From Unix' section.
  11280.  
  11281. #: 16562 S17/Unmonitored Chat   
  11282.     04-Nov-92  01:53:14
  11283. Sb: #16344-ISV Dev'pment Lab
  11284. Fm: Dag Baardsen [PS Norway] 100010,2257
  11285. To: John Hall [MS SDE] 70750,2341 (X)
  11286.  
  11287. Lots of thanks to you both, I'll come back to you later.  Most of our
  11288. questions will go through Magnus, thougmight (just *might*) have others... Dag
  11289.  
  11290. There is 1 Reply.
  11291.  
  11292. #: 16691 S17/Unmonitored Chat   
  11293.     04-Nov-92  21:46:42
  11294. Sb: #16562-ISV Dev'pment Lab
  11295. Fm: John Hall [MS SDE] 70750,2341
  11296. To: Dag Baardsen [PS Norway] 100010,2257 (X)
  11297.  
  11298. I hang out on 'Porting from OS/2'.  See you there.
  11299.  
  11300. #: 16822 S17/Unmonitored Chat   
  11301.     06-Nov-92  10:53:45
  11302. Sb: shareware under nt
  11303. Fm: Scott Alexander 76556,557
  11304. To: Len Gray 71630,1703 (X)
  11305.  
  11306. Instead of checksumming your dialog resource, you should consider reviewing
  11307. the registry API's for NT.  You can store your copyright and registration data
  11308. in your registry entry, along with date installed, etc. The registry data is
  11309. free form , so you could encrypt or checksum your area to prevent tampering. 
  11310. You could even encrypt your key when registering if you were worried about
  11311. people finding the data in the registry.  MS is encouraging the use of the
  11312. registry for data like this.
  11313.  
  11314.  
  11315.  
  11316.  
  11317.  
  11318. There is 1 Reply.
  11319.  
  11320. #: 16837 S17/Unmonitored Chat   
  11321.     06-Nov-92  12:36:36
  11322. Sb: #16822-shareware under nt
  11323. Fm: Len Gray 71630,1703
  11324. To: Scott Alexander 76556,557 (X)
  11325.  
  11326. I agree, the registry is the best place for sensitive strings like copyright
  11327. and registration data.  A solicitation dialog, however, can be changed in many
  11328. ways.  Controls can be removed, or they can just be moved off into a
  11329. non-visible area of the dialog.  Or their size can be changed so the text
  11330. doesn't show.  All in all, the easiest way to confirm that the user is seeing
  11331. and operating what you wanted them to is to have a means to checksum the
  11332. dialog.
  11333.  
  11334. #: 16746 S17/Unmonitored Chat   
  11335.     05-Nov-92  13:30:31
  11336. Sb: Seeking NT apps
  11337. Fm: Robert Lauriston 75300,3205
  11338. To: all
  11339.  
  11340. I'm writing another magazine article previewing NT and would like to acquire
  11341. beta copies of any major-category Win32 apps (spreadsheets, word processors,
  11342. graphics, etc.--not utilities or programming tools).  Nondisclosure basis is
  11343. fine, particularly since I'm not yet writing about apps per se but rather just
  11344. trying to see how Win32 NT programs differ from the usual DOS and Windows
  11345. apps.  Please reply by e-mail if you have an app you'd like to show me.
  11346.  
  11347. There is 1 Reply.
  11348.  
  11349. #: 16851 S17/Unmonitored Chat   
  11350.     06-Nov-92  15:33:33
  11351. Sb: #16746-Seeking NT apps
  11352. Fm: Seattle Lab 71202,560
  11353. To: Robert Lauriston 75300,3205 (X)
  11354.  
  11355. Dear Robert,
  11356.         We are porting a multi-user business operating system to NT from it's
  11357. current UNIX environment.  This port of the VMark operating system, UniVerse,
  11358. could not have been considered to a single-threaded environment.  NT and OS/2
  11359. are the first PC environments that can truly support substantial multi-user
  11360. based applications and environments.  At the DDK conference, I spoke with
  11361. several others who were also looking at bringing traditional mini and
  11362. main-frame apps and environs into NT. NT will probably bring a wave of
  11363. seasoned and sophisticated business applications into the Microsoft fold.
  11364.         Hope this commentary helps,
  11365.         Dennis Krueger
  11366.         Seattle Lab 
  11367.  
  11368. There is 1 Reply.
  11369.  
  11370. #: 16861 S17/Unmonitored Chat   
  11371.     06-Nov-92  16:17:46
  11372. Sb: #16851-Seeking NT apps
  11373. Fm: Robert Lauriston 75300,3205
  11374. To: Seattle Lab 71202,560 (X)
  11375.  
  11376. NT certainly seems suited for multiuser and client-server development. What
  11377. I'm looking for is more end-user stuff, though.  Thanks.
  11378.  
  11379.  
  11380.  
  11381.